Project

General

Profile

Actions

Bug #21729

closed

change language .js for ExtJS according to BE language

Added by Stefano Cecere almost 15 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-11-29
Due date:
% Done:

0%

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

Description

the ExtJS localization has default (english):
<script src="contrib/extjs/locale/ext-lang-en-min.js" type="text/javascript"></script>

if i have the BE in italian, IT DOES NOT substitute it with the correct:
<script src="contrib/extjs/locale/ext-lang-it-min.js" type="text/javascript"></script>

(it is important for the date widget for example...)

(issue imported from #M12828)


Files

patch_12828.patch (508 Bytes) patch_12828.patch Administrator Admin, 2009-11-29 10:47
patch_12828_unified.patch (526 Bytes) patch_12828_unified.patch Administrator Admin, 2009-11-29 10:59
12828_v2.diff (1.62 KB) 12828_v2.diff Administrator Admin, 2009-11-29 13:33
Actions #1

Updated by Stefano Cecere almost 15 years ago

it seems tehre is a bug at line 1182 of /t3lib/class.t3lib_pagerenderer.php

$extJsLang = isset($localeMap[$this->lang]) ? $localeMap[$this->lang] : $this->lang;

maybe $this->lang is not set correct (because if i set it by hand at 'it' the right localization is included!)

Actions #2

Updated by Stefano Cecere almost 15 years ago

yes, the $this->lang (protected variable) is not set!

i don't know how to set it.. any core dev? :)

Actions #3

Updated by Stefano Cecere almost 15 years ago

wow.. i could create a patch for this bug! ( patch_12828.patch =

what do you think?

stefano

Actions #4

Updated by Steffen Kamper almost 15 years ago

committed v2 to trunk, rev 6575

Actions

Also available in: Atom PDF