Project

General

Profile

Actions

Bug #16013

closed

In pages tree - popup menu not works in Russian (because of "Versioning" item)

Added by Valery Romanchev almost 18 years ago. Updated about 17 years ago.

Status:
Closed
Priority:
Should have
Category:
Backend User Interface
Target version:
-
Start date:
2006-04-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

class.tx_version_cm1.php (3.5 KB) class.tx_version_cm1.php Administrator Admin, 2006-04-14 00:01

Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #15979: Javascript Error on Click Menu in FilelistClosedMichael Stucki2006-04-04

Actions
Actions #1

Updated by Dmitry Dulepov almost 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).

Actions #2

Updated by Valery Romanchev almost 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?

Actions #3

Updated by Dmitry Dulepov almost 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.

Actions #4

Updated by Pavel Antonov almost 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=)

Actions #5

Updated by Sebastian Kurfuerst almost 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

Actions #6

Updated by Valery Romanchev over 17 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.

Actions #7

Updated by Michael Stucki over 17 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.

Actions #8

Updated by Michael Stucki over 17 years ago

See bug #15979 for more information!

Actions #9

Updated by Valery Romanchev over 17 years ago

Many thank for fast reply
Sorry for my mistake

Now I confirm that the bug is fixed in 4.0.3rc1

Actions #10

Updated by Michael Stucki over 17 years ago

Perfect, so I mark this issue as a duplicate of #15979.

Actions

Also available in: Atom PDF