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) »
  • Internationalisation of the installer, second attempt
Pages: [1]

Author Topic: Internationalisation of the installer, second attempt  (Read 744 times)

mathieu

  • Administrator
  • Ask me questions
  • *****
  • Posts: 620
  • Karma: 36
    • Work
  • CiviCRM version: 4.7
  • CMS version: Drupal
  • MySQL version: MariaDB 10
  • PHP version: 7
Internationalisation of the installer, second attempt
February 15, 2015, 02:15:45 pm
I had made an attempt to internationalize the 4.5 installer before 4.5.0 came out, but the patch had to be reversed because of bugs and lack of time (http://forum.civicrm.org/index.php/topic,32659.0.html and https://issues.civicrm.org/jira/browse/CRM-13584).

I made a new patch that works well against 4.6. I don't know if the core team will accept to merge the patch this late in the cycle, but in theory, it's one of those small changes with big gains. If anyone would like to help move that forward, I have a patch here: https://github.com/mlutfy/civicrm-core/commit/93974d6bd0d4b2ae7046f9ed1a99b3363179d415

To test that the translation itself is actually working, you will have to update your translation files, for example, using the following URL:
https://download.civicrm.org/civicrm-l10n-core/mo/fr_CA/civicrm.mo

where "fr_CA" should be your language, such as de_DE, es_ES, etc.

Also note that not all strings are localized. I wanted to keep the patch small (and was a bit lazy), so the main element to check for translation is the title at the top "CiviCRM Installation". Although well, I realized later that some languages such as German translate that to the same string, so it's not a very useful test, but for French it works :-)

CMS support: I have tested mostly on Drupal 7. In theory it should work on Wordpress, and I have not tested Joomla since it seems to use its own installer. If anyone can test Wordpress, that would be greatly appreciated.

If you need any help to apply the patch or other questions, please let me know.
CiviCamp Montréal, 29 septembre 2017 | Co-founder / consultant / turn-key CiviCRM hosting for Quebec/Canada @ SymbioTIC.coop

bcambon

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 4.4
  • CMS version: Wordpress 4.1.1
  • MySQL version: 5.5
  • PHP version: 5.2.9
Re: Internationalisation of the installer, second attempt
April 21, 2015, 08:06:35 am
Hello,

Not sure that my contribution would be useful.
But, trying installating CiviCRM on Wordpress in French (FR),
I can't find other languages than American english,
whereas the civicrm-<version>-l10n.tar.gz files has been downloaded.

I dont know how to keep on installating CiviCRM in French on Wordpress.

Would you have an advice?

Best regrads

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: Internationalisation of the installer, second attempt
April 21, 2015, 08:46:57 am
All questions/contributions are useful, especially if they help us identify badly documented features :)

From the screenshot, it seems like the "l10n" and "sql" directories should be moved inside the "civicrm" directory, i.e. in the same directory where the are the "CRM", "templates", "api", etc directories.
CiviCamp Montréal, 29 septembre 2017 | Co-founder / consultant / turn-key CiviCRM hosting for Quebec/Canada @ SymbioTIC.coop

bcambon

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 4.4
  • CMS version: Wordpress 4.1.1
  • MySQL version: 5.5
  • PHP version: 5.2.9
Re: Internationalisation of the installer, second attempt
April 21, 2015, 10:10:09 am
Quote from: mathieu on April 21, 2015, 08:46:57 am
All questions/contributions are useful, especially if they help us identify badly documented features :)

Thanks a lot mathieu, you're very helpful!
It works ;-) (and I am not a great technician, sorry :-)

Best regards,

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Internationalization and Localization (Moderators: Michał Mach, mathieu) »
  • Internationalisation of the installer, second attempt

This forum was archived on 2017-11-26.