Project

General

Profile

Actions

Task #27673

closed

Feature #25397: Adding XLIFF support as the default format for translation

Add Parser for PHP locallang array

Added by Xavier Perseguers over 13 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Must have
Category:
Miscellaneous
Target version:
-
Start date:
2011-06-24
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
5.3
Tags:
Complexity:
Sprint Focus:

Description

Implement the PHP locallang array parser based on code from t3lib_div::readLLPHPfile()


Files

error.png (161 KB) error.png Steffen Gebert, 2011-06-29 22:39
fallback.png (42.3 KB) fallback.png Steffen Gebert, 2011-07-05 11:25
Actions #1

Updated by Xavier Perseguers over 13 years ago

  • Tracker changed from Bug to Task
Actions #2

Updated by Mr. Hudson over 13 years ago

Patch set 1 of change I4e4d66e73d92eae57663b8e905db33a17da5cb2a has been pushed to the review server.
It is available at http://review.typo3.org/2903

Actions #3

Updated by Xavier Perseguers over 13 years ago

  • Status changed from New to Under Review
Actions #4

Updated by Xavier Perseguers over 13 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Xavier Perseguers over 13 years ago

  • Status changed from Resolved to Under Review
  • % Done changed from 100 to 0

Well, I don't understand how status has been changed because I did not write previous comment. Anyway, this patch has not been submitted and is still under review in Gerrit.

@Steffen: Could you please describe how to reproduce the problem you face? Don't have it myself.

Actions #6

Updated by Steffen Gebert over 13 years ago

Oh, that's really weird.. Don't understand, why forge closes an issue. We should keep an eye on this!

Install EXT:dr_wiki and reload the backend. This triggers the error (even without this patch). I'll file a new issue, as I now found out, how to reproduce.

Actions #7

Updated by Steffen Gebert over 13 years ago

Sorry, stupid.. forget.. I suggest to handle it within this issue, as it's only reproducible with this change.

Actions #8

Updated by Mr. Hudson over 13 years ago

Patch set 1 of change I6e7f3abc02c9121c3600076d0c6c2e4d092af41b has been pushed to the review server.
It is available at http://review.typo3.org/2929

Actions #9

Updated by Mr. Hudson over 13 years ago

Patch set 1 of change Ia59a77757112bccbf7a53ebeec71928f06ebe02a has been pushed to the review server.
It is available at http://review.typo3.org/2930

Actions #10

Updated by Mr. Hudson over 13 years ago

Patch set 2 of change I6e7f3abc02c9121c3600076d0c6c2e4d092af41b has been pushed to the review server.
It is available at http://review.typo3.org/2929

Actions #11

Updated by Mr. Hudson over 13 years ago

Patch set 2 of change Ia59a77757112bccbf7a53ebeec71928f06ebe02a has been pushed to the review server.
It is available at http://review.typo3.org/2930

Actions #12

Updated by Mr. Hudson over 13 years ago

Patch set 3 of change Ia59a77757112bccbf7a53ebeec71928f06ebe02a has been pushed to the review server.
It is available at http://review.typo3.org/2930

Actions #13

Updated by Mr. Hudson over 13 years ago

Patch set 4 of change Ia59a77757112bccbf7a53ebeec71928f06ebe02a has been pushed to the review server.
It is available at http://review.typo3.org/2930

Actions #14

Updated by Mr. Hudson over 13 years ago

Patch set 5 of change Ia59a77757112bccbf7a53ebeec71928f06ebe02a has been pushed to the review server.
It is available at http://review.typo3.org/2930

Actions #15

Updated by Mr. Hudson over 13 years ago

Patch set 6 of change Ia59a77757112bccbf7a53ebeec71928f06ebe02a has been pushed to the review server.
It is available at http://review.typo3.org/2930

Actions #16

Updated by Mr. Hudson over 13 years ago

Patch set 7 of change Ia59a77757112bccbf7a53ebeec71928f06ebe02a has been pushed to the review server.
It is available at http://review.typo3.org/2930

Actions #17

Updated by Mr. Hudson over 13 years ago

Patch set 8 of change Ia59a77757112bccbf7a53ebeec71928f06ebe02a has been pushed to the review server.
It is available at http://review.typo3.org/2930

Actions #18

Updated by Mr. Hudson over 13 years ago

Patch set 9 of change Ia59a77757112bccbf7a53ebeec71928f06ebe02a has been pushed to the review server.
It is available at http://review.typo3.org/2930

Actions #19

Updated by Mr. Hudson over 13 years ago

Patch set 1 of change Ie4b4146c7e0989093d0e57a0f63d4723a2c90f33 has been pushed to the review server.
It is available at http://review.typo3.org/2932

Actions #20

Updated by Mr. Hudson over 13 years ago

Patch set 2 of change I4e4d66e73d92eae57663b8e905db33a17da5cb2a has been pushed to the review server.
It is available at http://review.typo3.org/2903

Actions #21

Updated by Mr. Hudson over 13 years ago

Patch set 3 of change I4e4d66e73d92eae57663b8e905db33a17da5cb2a has been pushed to the review server.
It is available at http://review.typo3.org/2903

Actions #22

Updated by Mr. Hudson over 13 years ago

Patch set 4 of change I4e4d66e73d92eae57663b8e905db33a17da5cb2a has been pushed to the review server.
It is available at http://review.typo3.org/2903

Actions #23

Updated by Steffen Gebert over 13 years ago

Ends up with a PHP warning:

PHP Warning: Invalid argument supplied for foreach() in /opt/local/apache2/vhosts/master/typo3_src/typo3/sysext/lang/classes/parser/class.tx_lang_parser_llphp.php line 121

Actions #24

Updated by Steffen Gebert over 13 years ago

It's because the second entry (which is weird..) in $LOCAL_LANG is null.

Actions #25

Updated by Mr. Hudson over 13 years ago

Patch set 5 of change I4e4d66e73d92eae57663b8e905db33a17da5cb2a has been pushed to the review server.
It is available at http://review.typo3.org/2903

Actions #26

Updated by Mr. Hudson over 13 years ago

Patch set 6 of change I4e4d66e73d92eae57663b8e905db33a17da5cb2a has been pushed to the review server.
It is available at http://review.typo3.org/2903

Actions #27

Updated by Steffen Gebert over 13 years ago

Fallback doesn't work, see e.g. EXT:quickpoll

Actions #28

Updated by Mr. Hudson over 13 years ago

Patch set 7 of change I4e4d66e73d92eae57663b8e905db33a17da5cb2a has been pushed to the review server.
It is available at http://review.typo3.org/2903

Actions #29

Updated by Mr. Hudson over 13 years ago

Patch set 8 of change I4e4d66e73d92eae57663b8e905db33a17da5cb2a has been pushed to the review server.
It is available at http://review.typo3.org/2903

Actions #30

Updated by Mr. Hudson over 13 years ago

Patch set 9 of change I4e4d66e73d92eae57663b8e905db33a17da5cb2a has been pushed to the review server.
It is available at http://review.typo3.org/2903

Actions #31

Updated by Xavier Perseguers over 13 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #32

Updated by Xavier Perseguers over 12 years ago

  • Status changed from Resolved to Closed
Actions #33

Updated by Ernesto Baschny over 11 years ago

  • Target version deleted (1281)
Actions

Also available in: Atom PDF