Support (offered by community volunteers) > Internationalization and Localization
Documentation of Multi Language Features
(1/1)
civicrmsav:
Hi - Is there a good source for documentation of the civicrm multiple language features? Two things in particular I'm looking for at this moment, but I know there will be others, so wondering where to find best documentation.
1) I have checked the "inherit cms language" flag, but civi does not follow the cms language, I have to use the civi language switcher to change languages.
2) When I use the drupal language switcher to move between languages while on a civi page, the query string gets lost. For example if I look at [my site]/en/civicrm/contribute/transact?reset=1&id=1&lcMessages=en_US and click the spanish button in the drupal language switcher it takes me to http://www.castleislandmontessori.org/es/civicrm/contribute/transact
I can do some more debugging, but was hoping I could read up first to make sure I had set things up right.
(Drupal 7.12, Civi 4.1.2)
Donald Lobo:
hey
dont think there is any docs for that as yet, but now might be a great time to get this documented. Can you please help with this and start putting some preliminary docs on the wiki
1. seems like a bug to me and should work. If you can look into it that would be great. This works for bgm in 4.1.x for en/fr, so might be something to do with your language selection or a bug in the code?
2. drupal does not deal very well with url args, so i suspect that is an issue with the drupal language switcher. Might want to use this modification from bgm: http://www.bidon.ca/fr/node/584
lobo
mathieu:
Which Spanish translation are you using?
The "inherit language" may have issues with associating the "es" from Drupal to the corect es_XX from CiviCRM. By default, it will try es_ES.
You can override with the method described in this issue:
http://issues.civicrm.org/jira/browse/CRM-9558
Ex: put something equivalent to this in your civicrm.settings.php:
define('CIVICRM_LANGUAGE_MAPPING_ES', 'es_MX');
This issue for logged-in users might also be a cause:
http://issues.civicrm.org/jira/browse/CRM-9971
p.s. i am "bgm" on #civicrm IRC
civicrmsav:
Just confirming that lobo was exactly spot on. The mod at http://www.bidon.ca/fr/node/584 worked perfectly.
I added the information here: http://wiki.civicrm.org/confluence/display/CRMDOC41/CiviCRM+Localisation
Navigation
[0] Message Index
Go to full version