http://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692014-03-21T08:23:38ZTYPO3 ForgeTYPO3 Core - Bug #46118: Overriding _LOCAL_LANG in TS broken for fluid templateshttp://forge.typo3.org/issues/46118?journal_id=2094172014-03-21T08:23:38ZRalf Merzinfo@merzilla.de
<ul></ul><p>Hi,</p>
<p>I use a TYPO3 v6.0.6 for a multi-language site with languages DE, EN, FR, PL, CS and ES. We do also overwrite e.g. the back-link label of tx_news via Typoscript.<br />Using FR it works fine: "Retour à l'aperçu" looks ok<br />But CS (CZ) fails: "Zpět na přehled" becomes " ZpÄ›t na pĹ™ehled " <br />PL fails, too: "Powrót do przeglądu" becomes " PowrĂłt do przeglÄ?du "</p>
<p>Maybe this is due to what Dmitry already mentioned in his description?<br />Can anybody confirm this?</p>
<p>Thanks a lot,<br />Ralf</p>
<p>Edit:<br />I´ve looked up the languages in TYPO3\CMS\Core\Charset\CharsetConverter:<br />'cs' => 'windows-1250',<br />'cz' => 'windows-1250',<br />'pl' => 'iso-8859-2',</p>
<p>Are those values correct? - I guess yes.</p>
<p>Edit 2:<br />If Typoscript does not work, you can use an XML (or XLIFF) file to override, e.g.:<br /><pre>
$GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride']['EXT:news/Resources/Private/Language/locallang.xml'][]= 'EXT:tx_my_ext/Resources/Private/Language/locallang_news.xml';
</pre></p>
<p>Thanks to Xavier Persequers: <a class="external" href="http://xavier.perseguers.ch/tutoriels/typo3/articles/managing-localization-files.html">http://xavier.perseguers.ch/tutoriels/typo3/articles/managing-localization-files.html</a></p> TYPO3 Core - Bug #46118: Overriding _LOCAL_LANG in TS broken for fluid templateshttp://forge.typo3.org/issues/46118?journal_id=2094242014-03-21T09:13:48ZXavier Perseguersxavier@typo3.org
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Needs Feedback</i></li><li><strong>Target version</strong> set to <i>next-patchlevel</i></li><li><strong>Is Regression</strong> set to <i>No</i></li></ul><p>Trying to reproduce on TYPO3 6.2 with an Extbase-based extension of mine:</p>
<pre>
config.language= pl
plugin.tx_clcourses_picourses._LOCAL_LANG.pl {
tx_clcourses_domain_model_course.number = Powrót do przeglądu
}
</pre>
<p>I have no problem, everything is properly overridden.</p>
<p>Current activity is on 6.2, 4.7 only get security fixes and 6.0 is out of maintenance.</p> TYPO3 Core - Bug #46118: Overriding _LOCAL_LANG in TS broken for fluid templateshttp://forge.typo3.org/issues/46118?journal_id=2094302014-03-21T09:29:59ZRalf Merzinfo@merzilla.de
<ul></ul><p>Hi Xavier,</p>
<p>ok, about the versions and maintenances... you´re right. I´ve not tried it in a newer version yet. I was just "hanging" on that single project with that issue.</p>
<p>Thank´s a lot for testing. I´ll keep in mind that it should work with a current version.</p>
<p>Regards,<br />Ralf</p> TYPO3 Core - Bug #46118: Overriding _LOCAL_LANG in TS broken for fluid templateshttp://forge.typo3.org/issues/46118?journal_id=2094392014-03-21T09:54:08ZXavier Perseguersxavier@typo3.org
<ul></ul><p>Your problem may be related to a website not using UTF8 everywhere, as it was easily possible (and common) in TYPO3 4.x. Maybe this is simply related to that.</p> TYPO3 Core - Bug #46118: Overriding _LOCAL_LANG in TS broken for fluid templateshttp://forge.typo3.org/issues/46118?journal_id=2297262014-09-15T15:14:14ZAlexander Opitzopitz.alexander@googlemail.com
<ul><li><strong>Status</strong> changed from <i>Needs Feedback</i> to <i>Closed</i></li><li><strong>Target version</strong> deleted (<del><i>next-patchlevel</i></del>)</li></ul><p>No feedback within the last 90 days => closing this issue.</p>
<p>If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.</p> TYPO3 Core - Bug #46118: Overriding _LOCAL_LANG in TS broken for fluid templateshttp://forge.typo3.org/issues/46118?journal_id=2526882015-03-16T09:32:48ZThomas Schwarzts@medienpalast.net
<ul></ul><p>The Problem is still remaining in 6.2.10.</p>
<p>I use this language settings:<br />config {<br /> language = pl<br /> locale_all = pl_PL.UTF-8<br /> htmlTag_langKey = pl<br />}</p>
<p>I Insert this text in the TypoScript of my Extbase Extension:<br />_LOCAL_LANG {<br /> pl {<br /> product_list_nutritionalValue_title = <b>Zawartość & wartości odżywcze</b><br />100g zawiera składniki odżywcze zalecanej dziennej dawki (GDA) przeciętnej osoby dorosłej.<br /> product_list_recipe_header = Pomysły na przepisy<br /> }<br />}</p>
<p>The Output via Translate Viewhelper (f:translate) is:<br />ZawartoĹÄ & wartoĹci odĹźywcze 100g zawiera skĹadniki odĹźywcze zalecanej dziennej dawki (GDA) przeciÄtnej osoby dorosĹej.</p>
<p>and</p>
<p>PomysĹy na przepisy</p>
<p>The thext was converted from iso-8859-2 to utf-8 but the Backend is already utf-8.</p> TYPO3 Core - Bug #46118: Overriding _LOCAL_LANG in TS broken for fluid templateshttp://forge.typo3.org/issues/46118?journal_id=2539282015-03-25T16:41:06ZJigal van Hemertjigal.van.hemert@typo3.org
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>New</i></li><li><strong>TYPO3 Version</strong> changed from <i>4.7</i> to <i>6.2</i></li></ul> TYPO3 Core - Bug #46118: Overriding _LOCAL_LANG in TS broken for fluid templateshttp://forge.typo3.org/issues/46118?journal_id=2559302015-04-16T12:31:10ZOnline Now! GmbHtypo3@online-now.de
<ul></ul><p>I experienced the same behavior when i tried to add a custom label to an extension ( Powermail 2.20 which is an Extbase extension ) via TypoScript. The russian translation of the label is not displayed correctly, but only if the language of the site is set tu russian ( config.language = ru ). Russian text in default language are working fine. Russian labels directly from the original extension language file are working as expected, as well. The translate view helper is used to output the text in a fluid template. I also tried all available charset converting options in install tool ( mbstring, iconv etc ). The site is using utf-8 and all database tables are using utf-8 as charset.</p>
<p>After i changed the entry in the class TYPO3\CMS\Core\Charset\CharsetConverter ( $charSetArray ) from windows-1251 to utf-8 the russian label set in TypoScript is displayed correctly.</p>
<p>I never experienced this behavior in the past with a pibase extensions.</p>
<p>Edit: The TYPO3 version i am using is 6.2.12.</p> TYPO3 Core - Bug #46118: Overriding _LOCAL_LANG in TS broken for fluid templateshttp://forge.typo3.org/issues/46118?journal_id=2578642015-05-05T11:12:14ZStephan Großberndt
<ul><li><strong>Subject</strong> changed from <i>overriding _LOCAL_LANG in TS got broken in 4.7 for fluid templates</i> to <i>Overriding _LOCAL_LANG in TS broken for fluid templates</i></li></ul> TYPO3 Core - Bug #46118: Overriding _LOCAL_LANG in TS broken for fluid templateshttp://forge.typo3.org/issues/46118?journal_id=2578902015-05-05T13:54:48ZAnonymous
<ul></ul>Can confirm this issue for powermail 2.3.2. We're trying to override two labels for Czech:
<ul>
<li>validationerror_mandatory = Povinné pole</li>
<li>validationerror_validation.1 = Prosím vložte platnou emialovou adresu (<a class="email" href="mailto:test@test.com">test@test.com</a>)</li>
</ul>
<p>For some reason only the first one is having trouble with special chars. When var_dumping self::$LOCAL_LANG_charset only the first one is present among others. Maybe this dot containing key is a Powermail speciality, maybe it's another core bug.</p> TYPO3 Core - Bug #46118: Overriding _LOCAL_LANG in TS broken for fluid templateshttp://forge.typo3.org/issues/46118?journal_id=2655582015-07-13T11:44:57ZSinisa Mitrovicmitrovic.sinisaa@gmail.com
<ul></ul><p>Is this fixed in 6.2.14?</p> TYPO3 Core - Bug #46118: Overriding _LOCAL_LANG in TS broken for fluid templateshttp://forge.typo3.org/issues/46118?journal_id=2692432015-07-31T10:55:41ZSven Juergens
<ul></ul><p>same Problem here</p>
<p>i tried to set</p>
<p>plugin.xxx_local_lang.hu.downloadPDF = Letöltés PDF fájlként</p>
<p>Result was this--> LetĂśltĂŠs PDF fĂĄjlkĂŠnt</p>
<p>as Workaround</p>
<p>[globalVar = GP:L= idOfLanguage]<br />plugin.xxx_local_lang.default.downloadPDF = Letöltés PDF fájlként<br />[global]</p> TYPO3 Core - Bug #46118: Overriding _LOCAL_LANG in TS broken for fluid templateshttp://forge.typo3.org/issues/46118?journal_id=2694922015-08-04T10:56:58ZRafal Brzeski
<ul></ul><p>I got the same issue during translation tx_news, any progress with that ? (6.2.14)</p> TYPO3 Core - Bug #46118: Overriding _LOCAL_LANG in TS broken for fluid templateshttp://forge.typo3.org/issues/46118?journal_id=2748012015-09-10T11:52:43ZHannes Gesmann
<ul></ul><p>Sven Juergens wrote:</p>
<blockquote>
<p>same Problem here</p>
<p>i tried to set</p>
<p>plugin.xxx_local_lang.hu.downloadPDF = Letöltés PDF fájlként</p>
<p>Result was this--> LetĂśltĂŠs PDF fĂĄjlkĂŠnt</p>
<p>as Workaround</p>
<p>[globalVar = GP:L= idOfLanguage]<br />plugin.xxx_local_lang.default.downloadPDF = Letöltés PDF fájlként<br />[global]</p>
</blockquote>
<p>Having the same issue with _LOCAL_LANG for sr_freecap (cs, ru, zh, cn) in TYPO3 6.2.14, I just wanted to confirm Sven Juergens' workaround.</p> TYPO3 Core - Bug #46118: Overriding _LOCAL_LANG in TS broken for fluid templateshttp://forge.typo3.org/issues/46118?journal_id=2866432015-11-17T14:15:24ZWilli Martens
<ul></ul><p>The problem is still remaining in 6.2.15. Sven Juergens' workaround works.</p>
<pre>
plugin.tx_news._LOCAL_LANG.ja.more-link = 詳細を見る
</pre> TYPO3 Core - Bug #46118: Overriding _LOCAL_LANG in TS broken for fluid templateshttp://forge.typo3.org/issues/46118?journal_id=3049652016-05-23T12:34:10ZRiccardo De Contardierredeco@gmail.com
<ul></ul><p>Still present on latest master, I guess. See <code>typo3/sysext/core/Classes/Charset/CharsetConverter.php</code></p> TYPO3 Core - Bug #46118: Overriding _LOCAL_LANG in TS broken for fluid templateshttp://forge.typo3.org/issues/46118?journal_id=3177222016-11-13T11:11:00ZRiccardo De Contardierredeco@gmail.com
<ul><li><strong>Parent task</strong> set to <i>#72333</i></li></ul> TYPO3 Core - Bug #46118: Overriding _LOCAL_LANG in TS broken for fluid templateshttp://forge.typo3.org/issues/46118?journal_id=3181562016-11-18T20:44:48ZRiccardo De Contardierredeco@gmail.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Needs Feedback</i></li></ul><p>I tried to reproduce the problem on 8.5.0-dev with my MAMP environment, and I was not able to reproduce it.</p>
<p>My TS Setup configuration</p>
<pre>
config.defaultGetVars.L = 0
config.linkVars = L(0-1)
config.uniqueLinkVars = 1
config.sys_language_overlay = 0
config.sys_language_mode = content_fallback
config.language = it
config.locale_all = it_IT.utf8
config.htmlTag_langKey = it-IT
config.sys_language_uid = 0
config.htmlTag_langKey = it
[globalVar = GP:L = 1]
config.language = cs
config.locale_all = cs_CS
config.htmlTag_langKey = cs-CS
config.sys_language_uid = 1
config.htmlTag_langKey = cs
[global]
</pre>
<p>2) installed the "news" extension<br />2) downloaded the "Czech" language pack, also for the "news" extension</p>
<p>3) created 2 pages for news (list+detail) in both Italian and Czech<br />4) I used the "translate" option to create the translated CE<br />5) I created a couple of news items, in both Italian and Czech</p>
<p>Result: <br />- the "more" link tranlated to "Čtěte více" <br />- the "back" link translated to Zpět</p>
<p>- I even tried to change the "More" link via typoscript</p>
<pre>
plugin.tx_news._LOCAL_LANG.cs.more-link = úůýžáčďéěíňóřšť
</pre>
<p>and the result was: úůýžáčďéěíňóřšť</p>
<p>Do you think I should perform different tests? Thank you!</p>
<p>P.s. I will try soon with 7.6 too</p> TYPO3 Core - Bug #46118: Overriding _LOCAL_LANG in TS broken for fluid templateshttp://forge.typo3.org/issues/46118?journal_id=3182072016-11-20T11:47:56ZRiccardo De Contardierredeco@gmail.com
<ul></ul><p>I repeated the same test of my comment <a class="external" href="https://forge.typo3.org/issues/46118#note-18">https://forge.typo3.org/issues/46118#note-18</a> with TYPO3 7.6.12 (XAMPP Windows environment) with the same result.</p> TYPO3 Core - Bug #46118: Overriding _LOCAL_LANG in TS broken for fluid templateshttp://forge.typo3.org/issues/46118?journal_id=3250902017-02-24T10:48:36ZRiccardo De Contardierredeco@gmail.com
<ul><li><strong>Status</strong> changed from <i>Needs Feedback</i> to <i>Closed</i></li></ul><p>No feedback since 90 days > Closing.</p>
<p>If you think that this is the wrong decision or experience the issue again, or have more information about how to reproduce it on the latest TYPO3 versions, please reopen it or open a new issue with a reference to this one. Thank you.</p>