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) »
  • beta works but stable is buggy ?! (3.0.3 joomla vs 3.1 beta)
Pages: [1]

Author Topic: beta works but stable is buggy ?! (3.0.3 joomla vs 3.1 beta)  (Read 2226 times)

ConradM

  • I post occasionally
  • **
  • Posts: 34
  • Karma: 1
beta works but stable is buggy ?! (3.0.3 joomla vs 3.1 beta)
January 19, 2010, 09:53:34 am
Hi, I have downloaded latest stable version and have found out that saving localization settings does not work. Also the main menu bar is not being translated whatever I do. After searching why on the forums and documentation I ended up downloading the 3.1 beta and guess what ? Menu bar is being translated and I can now save the language settings !

Civicrm is a great piece of work but this should not happen. When choosing a stable version civicrm should not have such bugs (the main menu is central, you cannot ignore it, and localization settings are very important for many people), while I can understand that a beta version have some waiting to be corrected !

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: beta works but stable is buggy ?! (3.0.3 joomla vs 3.1 beta)
January 19, 2010, 09:24:54 pm
Quote from: ConradM on January 19, 2010, 09:53:34 am
Hi, I have downloaded latest stable version and have found out that saving localization settings does not work.

Do you use a multilingual Joomla installation? If so, CiviCRM is most probably inheriting your Joomla language choice (if it’s not, then it’s a bug). CiviCRM 3.1 introduced the ability to choose whether Joomla’s language is inherited or not (defaulting to not inherit).

Quote
Also the main menu bar is not being translated whatever I do. After searching why on the forums and documentation I ended up downloading the 3.1 beta and guess what ? Menu bar is being translated and I can now save the language settings!

This is a result of the language not switching, so basically the same issue.

Quote
Civicrm is a great piece of work but this should not happen. When choosing a stable version civicrm should not have such bugs (the main menu is central, you cannot ignore it, and localization settings are very important for many people), while I can understand that a beta version have some waiting to be corrected!

I agree in principle (unless the bugfix in question changes something fundamental and the bug does not affect most of the installs); in this case, if it’s a bug, I’ll fix it in 3.0 – but please check whether it indeed is a bug (switch your Joomla language and see whether CiviCRM follows).
« Last Edit: January 19, 2010, 09:26:57 pm by Piotr Szotkowski »
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.

ConradM

  • I post occasionally
  • **
  • Posts: 34
  • Karma: 1
Re: beta works but stable is buggy ?! (3.0.3 joomla vs 3.1 beta)
January 21, 2010, 07:16:28 am
Quote from: Piotr Szotkowski on January 19, 2010, 09:24:54 pm
Do you use a multilingual Joomla installation? If so, CiviCRM is most probably inheriting your Joomla language choice (if it’s not, then it’s a bug). CiviCRM 3.1 introduced the ability to choose whether Joomla’s language is inherited or not (defaulting to not inherit).
Not really. I'm using joomla with only french added to base language which is english. French is default language on this install and on 3.0.3 I've never seen the menu bar translated to french (so no inheritance here). Also I did not check at any time the multilanguage option in civicrm language settings (since the functionality is still experimental).
Quote
I agree in principle (unless the bugfix in question changes something fundamental and the bug does not affect most of the installs); in this case, if it’s a bug, I’ll fix it in 3.0 – but please check whether it indeed is a bug (switch your Joomla language and see whether CiviCRM follows).
Well i'm now on 3.1 beta so I can't check out 3.0. All I can say is that when switching default language to english in joomla (in civicrm language settings panel, cms inheritance unchecked), logging out from the joomla backoffice and then relogging with english language, then civicrm 3.1 beta remains in french (menu bar and nearly all interface translated).

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: beta works but stable is buggy ?! (3.0.3 joomla vs 3.1 beta)
January 22, 2010, 09:19:28 am
Quote from: ConradM on January 21, 2010, 07:16:28 am
Quote from: Piotr Szotkowski on January 19, 2010, 09:24:54 pm
Do you use a multilingual Joomla installation? If so, CiviCRM is most probably inheriting your Joomla language choice (if it’s not, then it’s a bug). CiviCRM 3.1 introduced the ability to choose whether Joomla’s language is inherited or not (defaulting to not inherit).

Not really. I'm using joomla with only french added to base language which is english. French is default language on this install and on 3.0.3 I've never seen the menu bar translated to french (so no inheritance here).

Hm, then this looks like bad behaviour.

Quote
Also I did not check at any time the multilanguage option in civicrm language settings (since the functionality is still experimental).

The CiviCRM multilingual option should not affect how CiviCRM switches the UI language. (I know this sounds counter-intuitively, but the selection of the current UI language is separate from the multilingual functionality.)

Quote
Well i'm now on 3.1 beta so I can't check out 3.0. All I can say is that when switching default language to english in joomla (in civicrm language settings panel, cms inheritance unchecked), logging out from the joomla backoffice and then relogging with english language, then civicrm 3.1 beta remains in french (menu bar and nearly all interface translated).

Right, as the inheritance is unchecked. This is how it’s supposed to work; I assume in your case in CiviCRM 3.0 the CRM_Utils_System_Joomla::getUFLocale() function at the end of the CRM/Utils/System/Joomla.php file returned something other than null, and in that case it trumped CiviCRM language selection (hence in CiviCRM 3.1 we introduced the option to not inherit the language).
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) »
  • beta works but stable is buggy ?! (3.0.3 joomla vs 3.1 beta)

This forum was archived on 2017-11-26.