Die TYPO3 Mailingliste - nicht fragen: lesen!
This is a discussion on [TYPO3] change language in own php script within the typo3-english@lists.netfielders.de forums, part of the TYPO3-Mailinglists: ENGLISH category; Hi I would like to change the language in typo3. In Typoscript it changes the language with: config.sys_language_uid = 1 ...
|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
Hi
I would like to change the language in typo3. In Typoscript it changes the language with: config.sys_language_uid = 1 config.language = de config.locale_all = de_DE so i thought that i could do the following in "class.tx_newloginbox.php" in the main function, so that it would be displayed in german $GLOBALS['TSFE']->config['config']['sys_language_uid'] = 1; $GLOBALS['TSFE']->config['config']['language'] = 'de'; $GLOBALS['TSFE']->config['config']['locale_all'] = 'de_DE'; Are the variables wrong or am i approaching this wrong? thanks for help a owen _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
| Themen-Optionen | Thema durchsuchen |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [TYPO3-templavoila] Change the Language of all Flexform elements to"all" < automaticly? | Jens Hoffmann | typo3-project-templavoila@lists.netfielders.de | 6 | 19.06.2008 00:35 |
| [TYPO3] Change text in language menu | Kimmo Helle | typo3-english@lists.netfielders.de | 1 | 08.05.2007 14:06 |
| [TYPO3-templavoila] Script element with TV | Paul | typo3-project-templavoila@lists.netfielders.de | 0 | 23.04.2007 23:18 |
| [TYPO3-german] Java Script | Timo Z. | typo3-german@lists.netfielders.de | 10 | 08.02.2007 16:43 |
| [TYPO3] Templavoila and content type script | Guus Leeuw jr. | typo3-english@lists.netfielders.de | 0 | 15.01.2007 17:42 |