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) »
  • strings present in the xml/templates/*.tpl files aren't available on transifex
Pages: [1]

Author Topic: strings present in the xml/templates/*.tpl files aren't available on transifex  (Read 1170 times)

tonthon

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
    • Majerti is specialized in OpenSource technologies
  • CiviCRM version: 4
  • CMS version: drupal
  • MySQL version: it depends
  • PHP version: it depends
strings present in the xml/templates/*.tpl files aren't available on transifex
July 25, 2011, 02:59:37 am
I'm actually working on the translation of civicrm in french and I tried to generate the civicrm_acl.fr_FR.mysql and the civicrm_data.fr_FR.mysql files with an updated mo file, using GenCode.php.
The problem is that most of the strings used in the xml/templates/*.tpl files aren't available for translation on transifex, so they arent' translated.
For example in the xml/templates/civicrm_data.tpl file, line 170:
{ts escape="sql"}Safe File Extension{/ts}

isn't translated on generation (note there is no 's' at the end).

Translation is working fine, if you add a s:
{ts escape="sql"}Safe File Extensions{/ts}

the generated file contains the translated string since this one is also used in the menu (menu.po file).

I don't know how transifex is initialized, but it seems that the xml dir isn't considered.
It would be fun if that could work fine, allowing us to have a fully translated interface.  :)
Gaston TJEBBES
Majerti
g.t [at] majerti.fr
http://www.majerti.fr
Audit/Conseil IT, Développement, Formation
+33 (0)6 32 70 70 00

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Internationalization and Localization (Moderators: Michał Mach, mathieu) »
  • strings present in the xml/templates/*.tpl files aren't available on transifex

This forum was archived on 2017-11-26.