5121 Posts in 1527 Topics by 1119 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 912 Views |
-
translation

11 July 2009 at 2:06am Last edited: 11 July 2009 2:07am
can anyone tell me what i have to do to have a german only site? i have this in my _config.php:
Object::add_extension('SiteTree', 'Translatable');
Translatable::enable();
Translatable::set_default_locale('de_DE');
Translatable::set_default_lang('de');or if there's no german only, how i can configure to get the german homepage by default?
thanks.. -
Re: translation

11 July 2009 at 4:26am
You don't need Translatable for a monolingual site. You'll need that only if you want to translate your pages into multiple languages...
The only thing you may add to _config.php is
i18n::set_locale('de_DE');
That will enable the german translations for modules and such.
| 912 Views | ||
|
Page:
1
|
Go to Top |


