Bug #16013
closedIn pages tree - popup menu not works in Russian (because of "Versioning" item)
0%
Description
In pages tree - popup menu not works in Russian in IE 6.0 (javascript error)
In Firefox 1.5 works, but with wrong simbols instead of "Versioning" menu item)
Looks like problem with utf-8 encoding and javascript.
Solution:
in /typo3conf/l10n/ru/version/ ru.locallang.xml
cnange russian works "Versioning" to original English word:
<T3locallangExt>
<data type="array">
<languageKey index="ru" type="array">
<label index="title">Versioning</label>
(issue imported from #M3193)
Files
Updated by Dmitry Dulepov over 18 years ago
String should not be changed back to english version!
Problem happens if UTF-8 is NOT used for BE charset. Translation's character set is correct (utf-8).
Updated by Valery Romanchev over 18 years ago
On this site I use:
$TYPO3_CONF_VARS["BE"]["forceCharset"] = 'windows-1251';
So how I can solve this problem withouth changing back to English?
Do you confirm that this is bug?
Updated by Dmitry Dulepov over 18 years ago
Well, you should use utf-8, not windows-1251...
But this is a bug. It should be fixed but word should not be changed back to English.
Updated by Pavel Antonov over 18 years ago
Bug is in /typo3/sysext/version/class.tx_version_cm1.php line 80:
"$GLOBALS['LANG']->getLLL('title',$LL),"
should be changed to
"$GLOBALS['LANG']->makeEntities($GLOBALS['LANG']->getLLL('title',$LL)),"
Fixed file in attacment.
BTW, I suggest to change names from "Versionniy kontol" and "Versioning" to "Kontrol versiy". It's more look like Russian... 8=)
Updated by Sebastian Kurfuerst over 18 years ago
Hi,
it might be that this relates to the ajax clickmenu... Not sure though, I am no expert in charsets.
Greets, Sebastian
Updated by Valery Romanchev almost 18 years ago
I just look at source code. The bug was not corrected in 4.0.3rc1 and in 4.1beta1
I confirm that this solution works fine for 4.0.2 :
---------------------------------
Bug is in /typo3/sysext/version/class.tx_version_cm1.php line 80:
"$GLOBALS['LANG']->getLLL('title',$LL),"
should be changed to
"$GLOBALS['LANG']->makeEntities($GLOBALS['LANG']->getLLL('title',$LL)),"
--------------------------------
Please note that the bug exists for situation
$TYPO3_CONF_VARS["BE"]["forceCharset"] = 'windows-1251';
and probably for some other encoding too.
Updated by Michael Stucki almost 18 years ago
Hi Valery,
are you sure that the bug is not fixed in 4.0.3rc1? Actually I am quite sure that this was solved, as it seems to be exactly the same problem that others had with German Umlauts.
Please clear your cache and test it once again, thanks.
Updated by Michael Stucki almost 18 years ago
See bug #15979 for more information!
Updated by Valery Romanchev almost 18 years ago
Many thank for fast reply
Sorry for my mistake
Now I confirm that the bug is fixed in 4.0.3rc1
Updated by Michael Stucki almost 18 years ago
Perfect, so I mark this issue as a duplicate of #15979.