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) »
  • Localization for Custom Data in Civicrm 4.2
Pages: [1]

Author Topic: Localization for Custom Data in Civicrm 4.2  (Read 1731 times)

Joan Nguyen

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 4.2
  • CMS version: Drupal 7.x
  • MySQL version: 5.X
  • PHP version: 5.X
Localization for Custom Data in Civicrm 4.2
May 28, 2013, 04:52:54 pm
Hi everybody!

I am developing CiviCRM 4.2 with Drupal CMS in default English. But my client wants to localize to German.
I seccessfully localized Drupal and Standard CiviCRM using .po files, which i put in the folder I10n/de_DE in CiviCRM module. i set Germen as default language and most standard expressions get translated.
But now, i dont know how to translate Custom Data (Custom fields) or contact subtypes (Customer -> Kundin). Which steps should i follow?
I deally I want to translate all Custom things in custom.po. Is it possible?
Joan Nguyen
facebook: Joan BrownEyes
skype : doannt2909

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Localization for Custom Data in Civicrm 4.2
May 28, 2013, 09:59:47 pm
Quote
But now, i dont know how to translate Custom Data (Custom fields) or contact subtypes (Customer -> Kundin). Which steps should i follow?

Do you mean names of custom data field? If yes than you will have create / enter the custom data fields in German, you can't translate values that are stored in db

Quote
I deally I want to translate all Custom things in custom.po. Is it possible?
Any that which is stored in db, should be entered in localized language.

HTH
Kurund
Found this reply helpful? Support CiviCRM

Joan Nguyen

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 4.2
  • CMS version: Drupal 7.x
  • MySQL version: 5.X
  • PHP version: 5.X
Re: Localization for Custom Data in Civicrm 4.2
May 29, 2013, 08:45:27 pm
Thanks, Kurund.
I understand.

Then If i want to change the standard translation in .po files, how should i do?
« Last Edit: June 11, 2013, 09:44:46 pm by joan »
Joan Nguyen
facebook: Joan BrownEyes
skype : doannt2909

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Localization for Custom Data in Civicrm 4.2
May 30, 2013, 02:38:24 am
Quote
Then If i want to change the standard translation in .po files, how should i do?
Join the translation team at https://www.transifex.com/projects/p/civicrm/

Kurund
Found this reply helpful? Support CiviCRM

Joan Nguyen

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 4.2
  • CMS version: Drupal 7.x
  • MySQL version: 5.X
  • PHP version: 5.X
Re: Localization for Custom Data in Civicrm 4.2
June 12, 2013, 12:15:49 am
Thank you so much, Kurund.
I joined the translation team.
but i read documentation on http://wiki.civicrm.org/confluence/display/CRMDOC42/CiviCRM+Localisation, i see that if i want to use new .po files, i need to compile the PO files into one MO file (civicrm.mo). I used some tools for Windows as Poedit, GetText to compile but wasn't successful.
So do you have any solution to compile .po files into one .mo file for Windows?
« Last Edit: June 12, 2013, 12:41:01 am by joan »
Joan Nguyen
facebook: Joan BrownEyes
skype : doannt2909

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: Localization for Custom Data in Civicrm 4.2
June 14, 2013, 06:58:32 am
Every week (I think it's on Wednesday), the .mo files are compiled by a CiviCRM server, and published on github. You can find it here for German:
https://github.com/civicrm/l10n/raw/master/po/de/civicrm.mo

You can also see recent changes to the translation files from here:
https://github.com/civicrm/l10n/tree/master/po/de (click on the "latest commit" link in the upper-right side of the file listing)
CiviCamp Montréal, 29 septembre 2017 | Co-founder / consultant / turn-key CiviCRM hosting for Quebec/Canada @ SymbioTIC.coop

Lander

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 4.4.1
  • CMS version: Drupal
  • MySQL version: 5.0.2
  • PHP version: 5.3.5
Re: Localization for Custom Data in Civicrm 4.2
December 10, 2013, 05:47:46 am
You can use this localization platform to translate your strings to German https://poeditor.com. It's simple to translate using it and its translation memory. Crowd translations work really effectively also.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Internationalization and Localization (Moderators: Michał Mach, mathieu) »
  • Localization for Custom Data in Civicrm 4.2

This forum was archived on 2017-11-26.