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

eZ debug

Timing: Jan 19 2025 03:23:10
Script start
Timing: Jan 19 2025 03:23:10
Module start 'content'
Timing: Jan 19 2025 03:23:10
Module end 'content'
Timing: Jan 19 2025 03:23:10
Script end

Main resources:

Total runtime0.1970 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 590.2109180.8203
Module start 'content' 0.00570.0055 771.031397.9297
Module end 'content' 0.01130.1857 868.9609526.5781
Script end 0.1970  1,395.5391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00321.6105200.0002
Check MTime0.00130.6762200.0001
Mysql Total
Database connection0.00080.405010.0008
Mysqli_queries0.151776.97291410.0011
Looping result0.00140.69331390.0000
Template Total0.185594.110.1855
Template load0.00080.392310.0008
Template processing0.184793.751110.1847
Override
Cache load0.00050.256310.0005
Sytem overhead
Fetch class attribute can translate value0.00100.509610.0010
XML
Image XML parsing0.00030.149810.0003
General
dbfile0.00572.9025200.0003
String conversion0.00000.003130.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs