Forums / Install & configuration / How add new language into ezpublish?

How add new language into ezpublish?

Author Message

minius minius

Thursday 26 July 2007 2:01:21 am

hello,
sorry about my english.

In my ez publish not working multi-language. I want add lithuania language. I will fallow this http://ez.no/doc/ez_publish/technical_manual/3_9/features/multi_language/configuring_your_site_locale
instruction, but multi-language not working. And template operator i18n not working in semple operator. In admin interface i will add my language, but nothing not working ??? plese help
thanks

Kristof Coomans

Thursday 26 July 2007 3:02:10 am

Hello Minius, and welcome to the eZ community!

Can you tell us, step-by-step, which configuration changes you've done? It's rather difficult to tell you what's wrong with the configuration without having the exact details. Thanks.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

minius minius

Thursday 26 July 2007 4:05:54 am

1. I create and upload lit-lt folder and lit-lt.ini file into share directory ;

2. I override my siteaccess site.ini by adding setting:
[RegionalSettings]
Locale=lit-LT
ContentObjectLocale=lit-LT
SiteLanguageList[]=lit-LT
SiteLanguageList[]=eng-GB
SiteLanguageList[]=rus-RU
TextTranslation=enabled
ShowUntranslatedObjects=disabled

3. Global override setting not override this;

4. Add success my lit-LT language using admin inteffase ;

5. Clear cache ;

6. And when i refresh public interface display erorr:

Fatal error: Maximum execution time of 30 seconds exceeded in C:\wamp\www\emarkt\lib\ezxml\classes\ezxml.php on line 307
Fatal error: eZ publish did not finish its request

The execution of eZ publish was abruptly ended, the debug output is present below.

Fatal error: Maximum execution time of 30 seconds exceeded in C:\wamp\www\emarkt\lib\ezxml\classes\ezxml.php on line 307

Kristof Coomans

Thursday 26 July 2007 4:49:18 am

Can you increase the maximum script execution time in your php configuration? See http://www.php.net/manual/en/ref.info.php#ini.max-execution-time

Something else you can try is to generate the translation cache files from the command line:

./bin/php/ezgeneratetranslationcache.php --ts-list="lit-LT rus-RU"

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Noicokuna Niemoge

Wednesday 03 June 2009 7:10:17 am

Hi;

What steps should I go through to add new language, in my case English? I installed eZ without English since when the install goes with democontent, it times out.

Now I have problems with bringing it back. I added to regional settings the locale eng-GB...

Also I don't know why when I change these settings in SiteLanguageList, the different INI edit template appears (not admin template but a completely different one, the frontend template).

Maybe it's a bug? Or a failure somewhere? Maybe INI file got corrupted? How can I check that?

I see the language in the system, I even added a translation (though it was strange that when I was adding the translation, I didn't see the title of the page I was making). But in the frontend I only get an error "Module cannot be found".

Shiki soku ze ku...