Wiki source code of Mehrsprachigkeit
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{content/}} | ||
| 2 | |||
| 3 | == Backend == | ||
| 4 | |||
| 5 | {{figure image="typo3_extension_language.png"/}} | ||
| 6 | |||
| 7 | The extension is available in both English and German. The language can be changed by going to //User Settings// {{rarrow/}} //Language//. | ||
| 8 | |||
| 9 | == Frontend == | ||
| 10 | |||
| 11 | TYPO3 allows you to create pages in multiple languages. When the included form [[has been translated>>doc:Formcycle.Designer.Form.Internationalization]] as well, the extension chooses the correct language automatically. For this to work, the language codes set in TYPO3 need to conform to the standard (ISO 639-1). | ||
| 12 | |||
| 13 | The following configuration file sets the language to English: | ||
| 14 | |||
| 15 | {{panel title="Configuration file for English"}} | ||
| 16 | {{code}} | ||
| 17 | [globalVar = GP:L = 1] | ||
| 18 | config.sys_language_uid = 1 | ||
| 19 | config.language = en | ||
| 20 | config.locale_all = en_UK | ||
| 21 | config.htmlTag_langKey = en-UK | ||
| 22 | [global] | ||
| 23 | {{/code}} | ||
| 24 | {{/panel}} |