Open Source Training Seminar


Not Logged in - No Account?

Logging in allows you to post to forums, track new posts, subscribe to threads, pm (private message) other members, and receive periodic news letters. Once logged in this message disappears. No account? Create one by registering here. Lost your password, request a new password. We respect your privacy and collect minimal information when you register and we do not resell that information or use it in any objectionable way. You can review our privacy policy for details.


Choosing German Language and Freepbx still speaks English ?

adoII's picture

Hi,

can somebody explain to me, why freepbx webinterface always is english, no matter what language I choose in the language selector ?


__________________


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Which version of FreePBX are

mickecarlsson's picture

Which version of FreePBX are you using?


__________________

There are only 10 types of people in the world: Those who understand binary, and those who don't


freepbx 2.5

adoII's picture

freepbx 2.5


When you select different

mickecarlsson's picture

When you select different languages you should get more or less, depending of the language, translations for the main core of FreePBX. Not all of the modules are localized in all languages.
If you don't get any language change you are most certainly preventing the language cookie to be set. Check that you have set your browser to allow cookies, otherwise you wont get a language change.


__________________

There are only 10 types of people in the world: Those who understand binary, and those who don't


make sure you have the

p_lindheimer's picture

make sure you have the gettext extensions loaded.


__________________

Philippe Lindheimer - FreePBX Project Leader
FreePBX Training Opportunities - Click Here
Get Official Paid Support - Click Here


Hmm, I am sure I am allowing

adoII's picture

Hmm,

I am sure I am allowing cookies.

gettext sounds interesting, how and where load the gettext extensions ?


it's part of php, if you

p_lindheimer's picture

it's part of php, if you loaded php from a package it is usually included.


__________________

Philippe Lindheimer - FreePBX Project Leader
FreePBX Training Opportunities - Click Here
Get Official Paid Support - Click Here


In Tools for FreePBX there

mickecarlsson's picture

In Tools for FreePBX there is a menu choice called PHP Info (if it is installed), if you click on that menu you get a nice information page about php. Search on that page after the text 'gettext'. You should see something like '--with-gettext' and gettext, GetText Support enabled.


__________________

There are only 10 types of people in the world: Those who understand binary, and those who don't


Still not working

adoII's picture

ok,

I double checked that gettext is installed, deleted cookies, cache everything and tried firefox 3 and ie6 on different machines.
I still only have english language.
I am using freepbx 2.5 and debian etch and php5/apache2


Look in

mickecarlsson's picture

Look in /var/www/html/admin/i18n, do you see something like this:

drwxrwx--- 3 asterisk asterisk 4096 May 26 14:33 de_DE
drwxrwx--- 3 asterisk asterisk 4096 May 26 14:33 es_ES
drwxrwx--- 3 asterisk asterisk 4096 May 26 14:33 fr_FR
drwxrwx--- 3 asterisk asterisk 4096 May 26 14:33 he_IL
drwxrwx--- 3 asterisk asterisk 4096 May 26 14:33 hu_HU
drwxrwx--- 3 asterisk asterisk 4096 May 26 14:33 it_IT
drwxrwx--- 3 asterisk asterisk 4096 May 26 14:33 pt_PT
-rw-rw-r-- 1 asterisk asterisk  181 Oct  6 12:08 readme.txt
drwxrwx--- 3 asterisk asterisk 4096 May 26 14:33 ru_RU
drwxrwxr-x 3 asterisk asterisk 4096 Aug  8 20:39 sv_SE

__________________

There are only 10 types of people in the world: Those who understand binary, and those who don't


dpkg-reconfigure locales

adoII's picture

After running dpkg-reconfigure locales and removing de_CH locale it worked.
However, 80% of all Texts are still in English, I suppose they are simply not Translated yet.
Anyway, I found out that the German Terms like "Hauptleitung" are so misleading that I will continue to use the English language anyway


Thank you for the

mickecarlsson's picture

Thank you for the feedback.
Feel free to update the German language if you like. In every i18n directory there is a .pot file with the text strings to translate. Instructions for translations can be read on the wiki http://freepbx.org/trac/wiki/I18n


__________________

There are only 10 types of people in the world: Those who understand binary, and those who don't