CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Internationalization and Localization (Moderators: Michał Mach, mathieu) »
  • changing default language does not work
Pages: [1]

Author Topic: changing default language does not work  (Read 3350 times)

scheppi

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
changing default language does not work
December 15, 2009, 01:44:25 am
hi together.

we ar planning to start up a new company and to support our young sales processes we want to establish civicrm as our client-mgmt tool.

unfortunately i cant get the mainpage go german, though i read through your localization page and tried it twice on two different installations.
in the localization settings the field selector "default language" always stays on english (UK)... even english (USA) is not remembered. All other field tin the same dialog seem to work .

Can somebody tell me in which (config-) file this setting will be reminded so i can check, wether it is readonly or something like that ?

thanks, and best wishes for all the community to make such a project run !

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: changing default language does not work
December 15, 2009, 06:37:48 am
Hm, interesting. Did you download the i10n tarball? Can you try reproducing this on demo install?
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

scheppi

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
Re: changing default language does not work
December 15, 2009, 12:53:23 pm
Hi Piotr,

sure i loaded the l10n file. i axtracted all dirs to civicrm root dir.
in my dropdown box all languages are being displayed, but the settings are not being saved.

In your demo-drupal installation it works.
I use joomla 1.5.15 and all under windows.

in detail: I unpacked JS2GO (http://www.joomlas2go.net/) and unpacked civicrm-joomla-alt and installed it. Then I unpacked l10n. I checked all "writable" flags, but my windows says for all files they would be writeable.

If one can tell me in which config files this setting is saved i can investigate better than just searching around with wild guessing.


Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: changing default language does not work
December 16, 2009, 07:14:20 am
Ah, right. Please check the contents of the config_backend column in the civicrm_domain table; this is where we keep a serialised config object.
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

scheppi

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
Re: changing default language does not work
December 16, 2009, 01:52:42 pm
Funny. There its is saved correctly. I can see two entries of :

s:5:"de_DE";

and much other stuff i remember from the localization page. Unfortunately it is not used, nor shown in the page. Ich flied over the php code and i might remember to hav seen som part of "removing localisations that are not correct." May the thing is saved correctly but if loaded it is - by any reason - thrown as incorrect setting away.

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: changing default language does not work
December 18, 2009, 07:15:48 am
Quote from: scheppi on December 16, 2009, 01:52:42 pm
Funny. There its is saved correctly. I can see two entries of :

s:5:"de_DE";

Note that these are the values; for the key that points at this value, you need to check the string right before it.

Quote
and much other stuff i remember from the localization page. Unfortunately it is not used, nor shown in the page. Ich flied over the php code and i might remember to hav seen som part of "removing localisations that are not correct." May the thing is saved correctly but if loaded it is - by any reason - thrown as incorrect setting away.

Are you sure you have the $civicrm_root/l10n/de_DE directory?

If so, you can check the CRM/Core/BAO/Setting.php file where we set the locale (maybe something trumps the choice made in the admin screen?).
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Internationalization and Localization (Moderators: Michał Mach, mathieu) »
  • changing default language does not work

This forum was archived on 2017-11-26.