Project

General

Profile

Actions

Bug #20589

closed

Login page is not translatable

Added by Benni Mack over 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2009-06-07
Due date:
% Done:

0%

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

Description

Hey,

the login page is not translatable. The labels are hardcoded and taken from the TYPO3_CONF_VARS['BE']['loginLabels']. However, through modifications in init.php, the $LANG object is now available on the login screen as well.

The attached patch does the following:

  • Browser detection of the language (HTTP_ACCEPT_LANGUAGE) and sets it, if no user is logged in.
  • Extracts all labels into a new locallang_login.xml file. There are some additional labels not in use right now because there are some modifications that will come in a separate patch.
  • Has a backwards-compatible option to check if the $TYPO3_CONF_VARS['BE']['loginLabels'] was changed for the installation. If so, it overrides the LLvalues from the config option.
  • Some labels were moved to a later stage of substituteMarkerArray so they can be used in other parts of the template as well (not just in the form subpart).
  • Some minor code cleanup.

(issue imported from #M11293)


Files

11293_login_translatable.patch (14.3 KB) 11293_login_translatable.patch Administrator Admin, 2009-06-07 13:38

Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #16261: Special characters not correctly displayed on login-screenClosedRupert Germann2006-06-20

Actions
Related to TYPO3 Core - Bug #20180: The Message "The backend is locked" is not translatableClosed2009-03-14

Actions
Has duplicate TYPO3 Core - Feature #17565: German translation for backend loginClosedMartin Kutschker2007-08-28

Actions

No data to display

Actions

Also available in: Atom PDF