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) »
  • Since I'm using CiviCRM for Thai language, I can compile to civicrm.mo but ???
Pages: [1]

Author Topic: Since I'm using CiviCRM for Thai language, I can compile to civicrm.mo but ???  (Read 486 times)

maicmi

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 4.6.10
  • CMS version: Wordpress 4.3.1
  • MySQL version: 5.6
  • PHP version: 5.5
Since I'm using CiviCRM for Thai language, I can compile to civicrm.mo but ???
November 24, 2015, 04:44:48 am
Since I'm using CiviCRM for Thai language, I can compile th_TH to civicrm.mo
But how can I create civicrm_acl.th_TH.mysql and civicrm_data.th_TH.mysql?
Please help ...

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: Since I'm using CiviCRM for Thai language, I can compile to civicrm.mo but ???
November 27, 2015, 06:38:37 am
Hi,

Welcome to CiviCRM!

You can get an up to date civicrm.mo for Thai at this address:
https://download.civicrm.org/civicrm-l10n-core/mo/th_TH/civicrm.mo

This file is recompiled every day using the strings from Transifex (https://www.transifex.com/civicrm/civicrm/language/th_TH/). So you can improve the translation on Transifex, wait a day, and update your translation file.

For a short term solution, I have generated the MySQL files for you: https://bidon.ca/files/tmp/civicrm-th_TH.tar.gz
These files work on the latest 4.6.10. You can copy them to your "sql" directory of civicrm.

Full answer:

To generate the sql files, normally you would have to configure a CiviCRM development environment:
http://wiki.civicrm.org/confluence/display/CRMDOC/Contributing+to+CiviCRM+using+GitHub

Once you have CiviCRM installed from Git, you have to place the civicrm.mo file in l10n/th_TH/LC_MESSAGES/civicrm.mo (similar to other files in the civicrm-l10n.tar.gz file), then run bin/setup.sh (needs to be configured first, depending on whether buildkit or gitify took care of that).

However, writing this makes me realize how complicated it is, just for translation files. Also, the development files for CiviCRM are very big: 500-800 megs total.

Alternative: you can install CiviCRM in English, then change the language after the installation is completed (in Administer -> Localisation -> Language). The main reason to install CiviCRM in Thai directly, is that many configurations are translated, such as "name prefixes" (Mr, Ms, Dr, etc), "phone types", "location types". However, you can also change those after the installation, from the administration menus. Considering that currently the Thai translation is only at 5%, not many configurations are probably already translated. If you can help improve that in Transifex, it would be great, to help the next person who will install CiviCRM in Thai.

If you can help improve the Thai translation and get it around 20% on Transifex, we can include it in the supported languages, so that it gets included in civicrm-l10n.tar.gz. This way, the .sql files gets auto-generated in the next release and it is much easier.

If you have any questions, please do not hesitate to ask on this forum.
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) »
  • Since I'm using CiviCRM for Thai language, I can compile to civicrm.mo but ???

This forum was archived on 2017-11-26.