Project

General

Profile

Actions

Bug #17824

closed

static_languages - no lg_typo3 for English

Added by Adam Nojszewski over 16 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2007-11-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

In table static_languages there is no lg_typo3 for entry 'english' which causes fallaback to 'default' when using <languageKey index="en" type="array"> in locallang.xml

Just change lg_typo3 to 'en' and
config.language = en
works, allowing to enter utf-8 charcters in english section of locallang.xml

Treating english as 'default' causes iconving all data to iso-8859-1
(issue imported from #M6783)

Actions #1

Updated by Adam Nojszewski over 16 years ago

I forgot one workaround:

in class.t3lib_cs change line for 'pl' (or language you are using) and add line for 'en':

var $charSetArray = array(
'pl' => 'utf-8',
'en' => 'utf-8',
}

Actually, readLLXMLfile in class.t3lib_div chooses $origCharset based on langKey, not on xml header. This forces some conversions, even when forceCharset is utf and xml file contents is also utf

Actions #2

Updated by Markus Klein over 12 years ago

  • Target version deleted (0)

Is this still a valid bug?

Actions #3

Updated by Chris topher over 12 years ago

  • Status changed from New to Needs Feedback
Actions #4

Updated by Alexander Opitz about 11 years ago

  • Status changed from Needs Feedback to Closed

No response over one year => closed.

Actions

Also available in: Atom PDF