donators

n@work Internet Informationssysteme GmbH
Your ad here

supported by

 TYPO3 Hamburg
 TYPO3 Anbieter

Advertising

Basic localization setup

By: Martin

01.03.08 15:42 Age: 159 days

To successfully setup a non english site you have to adjust several settings in typoscript.

Here is a list of them with explanation:

  1.  
  2. config.language = en
  3.  

 

Define wich localization mark will be used by typo3. Especially the predefined translations of extensions will use this setting. But you also can use this in your own extensions and typoscript.

 

  1.  
  2. config.locale_all = en_UK
  3.  

 

Set the PHP-Locale. This setting will be used by all localized php function like stftime. Especially the displaying of dates is customized this way

 

  1.  
  2. config.htmlTagLangKey = en-UK
  3.  

 

Setting the language key for the html/xml document means being nice to search engines because they dont have to guess the language of your site. So just do it.

 

  1.  
  2. config.sys_language_uid = 0
  3.  

Found a mistake?

If you found a mistake or if you have a good tip or suggestion, please contact me at thomas(at)typo3-unleashed.net. I will check it and correct the entry or insert the new one.

Thanks in advance for your help.