Actions
Bug #20589
closedLogin page is not translatable
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
No data to display
Actions