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) »
  • Only "Settings - Localization" page is in default language
Pages: [1]

Author Topic: Only "Settings - Localization" page is in default language  (Read 1419 times)

moj0rising

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 4.3.x
  • CMS version: Drupal 7.x
  • MySQL version: 5.1.x
  • PHP version: 5.3.3
Only "Settings - Localization" page is in default language
June 19, 2013, 04:32:29 pm
Hi, there,

I followed the official documentation to install and set the default language of our CiviCRM install to French (Canada). Everything seemed fine with no error messages but the only page that has even part of it actually in French is the "Settings - Localization" page where the language setting is. On this page, the menus are all in French as well, though not all the text on the page is (see below).

I have tried flushing APC cache and setting the language several times, using different browsers (in case it was a local cache issue).

What else should I look at to solve this problem? Has anyone seen this before? I've checked Google and this forum but no dice.

Thanks for any help you can provide!
Mike


My set-up:
CiviCRM 4.3.3
Drupal 7.x
MySQL version:5.1.x
PHP version: 5.3.3
OS: CentOS 6.4

The localization page looks something like this:
Langue et devises
Default Language   
Langue par défaut utilisée pour cette installation.
Inherit CMS Language   
Si activé, CiviCRM suivra les changements de langue du CMS.
Default Currency   
Devise par défaut associée aux contributions et aux autres transactions financières.


« Last Edit: June 19, 2013, 05:50:13 pm by moj0rising »

mathieu

  • Administrator
  • Ask me questions
  • *****
  • Posts: 620
  • Karma: 36
    • Work
  • CiviCRM version: 4.7
  • CMS version: Drupal
  • MySQL version: MariaDB 10
  • PHP version: 7
Re: Only "Settings - Localization" page is in default language
June 20, 2013, 05:37:40 am
Hi Mike,

Can you try adding this to your civicrm.settings.php:

Code: [Select]
define('CIVICRM_LANGUAGE_MAPPING_FR', 'fr_CA');
It's a hack for when using "inherit CMS language" and regional translations, because CiviCRM otherwise searches for fr_FR if the Drupal locale is "fr".

http://wiki.civicrm.org/confluence/display/CRMDOC43/CiviCRM+Localisation#CiviCRMLocalisation-%22InheritCMSlanguage%22andregionaltranslations%28ex:fr_CA%29
CiviCamp Montréal, 29 septembre 2017 | Co-founder / consultant / turn-key CiviCRM hosting for Quebec/Canada @ SymbioTIC.coop

moj0rising

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 4.3.x
  • CMS version: Drupal 7.x
  • MySQL version: 5.1.x
  • PHP version: 5.3.3
Re: Only "Settings - Localization" page is in default language
June 25, 2013, 02:11:24 pm
Thanks so much for your reply, mathieu.

Unfortunately, that did not work. I have the Drupal locale set as default. I also tried setting it to "fr" but that seemed to have no effect as well.

I'm quite sure the languages, themselves, are installed properly but there must be some setting or something wrong with regard to displaying / using that language.

It may be relevant that, for now, I just want to be able to switch the whole installation back and forth between English and French. In the future, I will need to allow users to set their own language preferences for their individual accounts. I know CiviCRM can do that but I want to just get the base functionality working right now.

Might you have any other ideas on this one??

Mike
« Last Edit: June 25, 2013, 02:16:52 pm by moj0rising »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Internationalization and Localization (Moderators: Michał Mach, mathieu) »
  • Only "Settings - Localization" page is in default language

This forum was archived on 2017-11-26.