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) »
  • copy en_US to untranslated en_CA?
Pages: [1]

Author Topic: copy en_US to untranslated en_CA?  (Read 447 times)

JoeMurray

  • Administrator
  • Ask me questions
  • *****
  • Posts: 578
  • Karma: 24
    • JMA Consulting
  • CiviCRM version: 4.4 and 4.5 (as of Nov 2014)
  • CMS version: Drupal, WordPress, Joomla
  • MySQL version: MySQL 5.5, 5.6, MariaDB 10.0 (as of Nov 2014)
copy en_US to untranslated en_CA?
March 03, 2015, 02:19:59 pm
Heh maintainers,

Could one of you update the en_CA strings on transifex that are not translated with en_US ones, and then I'll do one of my periodic reviews? No rush on this.

Thanks.
Co-author of Using CiviCRM https://www.packtpub.com/using-civicrm/book

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: copy en_US to untranslated en_CA?
March 03, 2015, 05:38:58 pm
Done.

I know it will probably need to be done again for 4.6, but I was curious on the command:

Code: [Select]
tx pull -a
cd po/en_CA
for i in *.po; do msgen $i | sponge $i; done
tx push -l en_CA -t

edit: did the same for en_GB.
CiviCamp Montréal, 29 septembre 2017 | Co-founder / consultant / turn-key CiviCRM hosting for Quebec/Canada @ SymbioTIC.coop

JoeMurray

  • Administrator
  • Ask me questions
  • *****
  • Posts: 578
  • Karma: 24
    • JMA Consulting
  • CiviCRM version: 4.4 and 4.5 (as of Nov 2014)
  • CMS version: Drupal, WordPress, Joomla
  • MySQL version: MySQL 5.5, 5.6, MariaDB 10.0 (as of Nov 2014)
Re: copy en_US to untranslated en_CA?
March 04, 2015, 07:19:53 am
Thanks, Mathieu.

Those commands look like they would run on a local machine's command line assuming that all the right stuff was installed for the tx and msgen lines.
Co-author of Using CiviCRM https://www.packtpub.com/using-civicrm/book

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: copy en_US to untranslated en_CA?
March 04, 2015, 12:41:19 pm
Yep, on a Debian/Ubuntu system, you can "apt-get install transifex-client gettext" and "git clone git@github.com:civicrm/l10n.git".

A bit more context here:
http://wiki.civicrm.org/confluence/display/CRMDOC/i18n+Administrator%27s+Guide#i18nAdministrator%27sGuide-UpdatingyourtranslationfilesmanuallyusingTransifex
CiviCamp Montréal, 29 septembre 2017 | Co-founder / consultant / turn-key CiviCRM hosting for Quebec/Canada @ SymbioTIC.coop

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Internationalization and Localization (Moderators: Michał Mach, mathieu) »
  • copy en_US to untranslated en_CA?

This forum was archived on 2017-11-26.