Forums / Install & configuration / Internationalisation -> Custom langage not listed

Internationalisation -> Custom langage not listed

Author Message

laurent le cadet

Tuesday 26 June 2007 9:48:50 am

Hi,

I created a new custom langage "Breton" which is still speaking here in France.
For that duplicate the translation fre-FR folder to bzh-BZ for the translation.ts file.
I also created a bzh-bz.ini file in locale folder and a flag call bzh-BZ.gif.

All the caches werre cleared but there is no new Breton additionnal langage under setup/langages langages dropdown list.

Normal ?

Something missing ?

regards.

Laurent

Łukasz Serwatka

Thursday 28 June 2007 12:36:20 am

Did you add this new language locale in site.ini.[RegionalSettings].SiteLanguageList for admin siteaccess?

Remember clear the cache.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

laurent le cadet

Thursday 28 June 2007 3:30:46 am

Lukasz,

I did what you said but nothing better.
There is still a problem with the dropdown langages selection list in admin when I want to add a translation (../content/translations).

The list is like that :

Custom
------------(a blank item in the list in first position)
Catalan
Chinese
...

The blank item should be "Breton", the new custom langage ?

Laurent

Łukasz Serwatka

Thursday 28 June 2007 3:52:12 am

Check language name in ezcontent_language table in database and make sure that SiteLanguageList for your current admin siteaccess contains correct locale with new language. It should work.

Check also what is in:
$GLOBALS['eZContentLanguagePrioritizedLanguages']

Do var_dump at the bottom of index.php.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Łukasz Serwatka

Thursday 28 June 2007 4:01:17 am

There is indeed something wrong with adding custom language in setup/languages. Can you please fill up bug report? It confuses users.

Create manually file bzh-BZ.ini under share/locale/ with:

[RegionalSettings]
LanguageName=Breton
InternationalLanguageName=Breton

Then you should be able to see it correctly on the list.

More info in:
http://ez.no/doc/ez_publish/technical_manual/3_9/features/multi_language/configuring_your_site_locale

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

laurent le cadet

Thursday 28 June 2007 5:22:25 am

I already have this settings in bzh-bz.ini.

I report this as a bug.

Laurent

laurent le cadet

Thursday 28 June 2007 5:55:03 am

Here you'll find the bug report:

http://issues.ez.no/IssueView.php?Id=11048&activeItem=1

Laurent

eZ debug

Timing: Jan 18 2025 22:21:53
Script start
Timing: Jan 18 2025 22:21:53
Module start 'content'
Timing: Jan 18 2025 22:21:53
Module end 'content'
Timing: Jan 18 2025 22:21:53
Script end

Main resources:

Total runtime0.7378 sec
Peak memory usage4,096.0000 KB
Database Queries206

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 587.9609180.8047
Module start 'content' 0.00690.5892 768.7656602.4297
Module end 'content' 0.59600.1418 1,371.1953341.0625
Script end 0.7378  1,712.2578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00440.5904210.0002
Check MTime0.00150.2021210.0001
Mysql Total
Database connection0.00080.107610.0008
Mysqli_queries0.646187.56392060.0031
Looping result0.00220.29772040.0000
Template Total0.704095.420.3520
Template load0.00210.289120.0011
Template processing0.701895.116220.3509
Template load and register function0.00010.014410.0001
states
state_id_array0.00250.343010.0025
state_identifier_array0.00170.227520.0008
Override
Cache load0.00180.2443540.0000
Sytem overhead
Fetch class attribute can translate value0.00180.239230.0006
Fetch class attribute name0.00200.273990.0002
XML
Image XML parsing0.00130.170030.0004
class_abstraction
Instantiating content class attribute0.00000.0064140.0000
General
dbfile0.00460.6276350.0001
String conversion0.00000.000730.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
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
7content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
13content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 35
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs