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