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...

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 00:22:33
Script start
Timing: Jan 31 2025 00:22:33
Module start 'layout'
Timing: Jan 31 2025 00:22:33
Module start 'content'
Timing: Jan 31 2025 00:22:34
Module end 'content'
Timing: Jan 31 2025 00:22:34
Script end

Main resources:

Total runtime1.0922 sec
Peak memory usage8,192.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 588.2578151.2266
Module start 'layout' 0.00600.0039 739.4844220.7188
Module start 'content' 0.00991.0815 960.20314,502.8672
Module end 'content' 1.09130.0008 5,463.070315.8281
Script end 1.0921  5,478.8984 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3208160.0002
Check MTime0.00130.1227160.0001
Mysql Total
Database connection0.00090.083110.0009
Mysqli_queries0.974889.2537650.0150
Looping result0.00060.0555630.0000
Template Total1.016693.120.5083
Template load0.00230.208620.0011
Template processing1.014392.871320.5072
Template load and register function0.00180.162610.0018
states
state_id_array0.00210.193010.0021
state_identifier_array0.00120.110120.0006
Override
Cache load0.00180.1673430.0000
Sytem overhead
Fetch class attribute can translate value0.00170.154230.0006
Fetch class attribute name0.00230.212660.0004
XML
Image XML parsing0.00080.069630.0003
class_abstraction
Instantiating content class attribute0.00000.001770.0000
General
dbfile0.00170.1520160.0001
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs