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) »
  • how can I get language file for joomla (.ini files)
Pages: [1]

Author Topic: how can I get language file for joomla (.ini files)  (Read 2946 times)

daneshjoo

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 4.3
  • CMS version: joomla 2.5
  • MySQL version: 5.5
  • PHP version: 5.3
how can I get language file for joomla (.ini files)
May 13, 2013, 06:24:49 am
hello

how can I get language file for joomla (.ini files)?

please help me

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: how can I get language file for joomla (.ini files)
May 13, 2013, 06:35:59 am
Hi,

CiviCRM uses its own mechanism for translation, not the Joomla .ini method.

In short: you need to download the civicrm-l10n.tar.gz file, unpack in your civicrm/ directory, then you will be able to change the locale from CiviCRM's admin localisation menu.

More information here:
http://wiki.civicrm.org/confluence/display/CRMDOC43/CiviCRM+Localisation

Mathieu
CiviCamp Montréal, 29 septembre 2017 | Co-founder / consultant / turn-key CiviCRM hosting for Quebec/Canada @ SymbioTIC.coop

daneshjoo

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 4.3
  • CMS version: joomla 2.5
  • MySQL version: 5.5
  • PHP version: 5.3
Re: how can I get language file for joomla (.ini files)
May 14, 2013, 01:13:40 am
hello

thanks a lot

but my language is persian and fa_IR is not in the folders,why?
how can I add my language to it?


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: how can I get language file for joomla (.ini files)
May 14, 2013, 06:18:14 am
Hi,

Translations are contributed by the community. They are managed on the translation website http://www.ransifex.net. When a translation reaches a certain point (I think 50% completion), we include it in the main civicrm-l10n.tar.gz. In the mean time, it is also possible to get the "civicrm.mo" file from the github repository: https://github.com/civicrm/l10n/tree/master/po/fa_IR

The Persian translations seem to not have been updated in a while. Also, strangely there is a "fa" translation, but also a "fa_IR" translation, and both have a very little activity:

* fa: https://www.transifex.com/projects/p/civicrm/language/fa/
* fa_IR: https://www.transifex.com/projects/p/civicrm/language/fa_IR/ (more advanced)

The language code "fa" versus "fa_IR" indicates that fa_IR is a regional translation specific to Iran. For example, we also have fr_CA or es_MX. However, in general, I would recommend to converge as much as possible towards one translation, since translating CiviCRM is a huge task.

In short, you can create an account on transifex.net, join the fa_IR team, say hi to the current team coordinator and see if he is still actively translating. You can export the translation files from transifex (.po -> .mo), but it may be easier to wait one night and it will be merged into the github repository. Once a week (saturday, I think), the civicrm.mo is re-compiled in the github repo.

I also encourage you to create a "lexicon" for the Persian language. This will help a lot to help translators to translate terms in the same way. Otherwise, a "contact", for example, might be translated in 5 different ways, and it can quickly become confusing:
http://wiki.civicrm.org/confluence/display/CRMDOC43/Translator+resources

More information:
http://wiki.civicrm.org/confluence/display/CRMDOC43/CiviCRM+Localisation#CiviCRMLocalisation-HelpingwithCiviCRMLocalisations
CiviCamp Montréal, 29 septembre 2017 | Co-founder / consultant / turn-key CiviCRM hosting for Quebec/Canada @ SymbioTIC.coop

daneshjoo

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 4.3
  • CMS version: joomla 2.5
  • MySQL version: 5.5
  • PHP version: 5.3
Re: how can I get language file for joomla (.ini files)
May 15, 2013, 04:53:13 am
hi
ok,thanks

now,
how can I add persian glossary?
how can I add new fa_IR translate project to transifex.net?(Coordinator=myself)
how can I convert all .po files to one .mo file?

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: how can I get language file for joomla (.ini files)
May 15, 2013, 05:21:19 am
Quote from: daneshjoo on May 15, 2013, 04:53:13 am
how can I add persian glossary?

Create an account on the wiki, then go to:
http://wiki.civicrm.org/confluence/display/CRMDOC43/Translator+resources

And, in the upper-right corner, you will see an "Add" button, click that, then "Add > Page".

Quote from: daneshjoo on May 15, 2013, 04:53:13 am
how can I add new fa_IR translate project to transifex.net?(Coordinator=myself)

Create an account on Transifex.net, then request to join the team.

Quote from: daneshjoo on May 15, 2013, 04:53:13 am
how can I convert all .po files to one .mo file?

Complicated way, but faster: http://wiki.civicrm.org/confluence/display/CRMDOC43/Localisation+stack (steps "Stack prerequisites", clone the "l10n" repository, get the strings from Transifex, then compile with gettext).

Easier way: strings are synchronised from Transifex to github every day. You can then clone only that repository and compile, or wait until the next Wednesday 9:45 Pacific time, and the civicrm.mo will be re-compiled automatically and published on github at  https://github.com/civicrm/l10n/tree/master/po/fa_IR
CiviCamp Montréal, 29 septembre 2017 | Co-founder / consultant / turn-key CiviCRM hosting for Quebec/Canada @ SymbioTIC.coop

daneshjoo

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 4.3
  • CMS version: joomla 2.5
  • MySQL version: 5.5
  • PHP version: 5.3
Re: how can I get language file for joomla (.ini files)
May 15, 2013, 06:08:49 am
I translate .po file with "po auto translator v1.6" software(working with google traslate)
example :menu.po (attached)

now ,how can I compile all .po to "civicrm.mo" ?

too,I install git(http://git-scm.com/),how can I use it?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Internationalization and Localization (Moderators: Michał Mach, mathieu) »
  • how can I get language file for joomla (.ini files)

This forum was archived on 2017-11-26.