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) »
  • Where to find the translation strings?
Pages: [1]

Author Topic: Where to find the translation strings?  (Read 2653 times)

eggtart

  • I post occasionally
  • **
  • Posts: 64
  • Karma: 2
Where to find the translation strings?
March 22, 2010, 07:45:08 pm
Is there an easy way to find out where the text strings are in the PO so that we can do the translation.  I found that even though some strings are translated in the PO files, they are not reflected in the UI.  For instance, "Dear %1", "Middle Name", "On Hold".  They are all translated in the PO file but not picked up by the frontend.  

And where is the ajax menu bar items picking up its translation strings from?


Thanks so much for your help!
« Last Edit: March 22, 2010, 08:59:57 pm by eggtart »

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Where to find the translation strings?
March 26, 2010, 03:56:13 am
Quote from: eggtart on March 22, 2010, 07:45:08 pm
Is there an easy way to find out where the text strings are in the PO so that we can do the translation.

Hm. If you have a PO file, I assume you use some kind of an editor (in which case you can search in it for the string) or you can search across all the PO files from your operating system.

If you’re using the translation server, you can use the search function there.

Quote
I found that even though some strings are translated in the PO files, they are not reflected in the UI.  For instance, "Dear %1", "Middle Name", "On Hold". They are all translated in the PO file but not picked up by the frontend.

These are held in the database, you need to either source the right (localised) seed db file when you install CiviCRM (it’s an option in the install wizard) or change them by hand in the right Administer CiviCRM screen for the given option value settings.

Quote
And where is the ajax menu bar items picking up its translation strings from?

From the xml/templates/civicrm_navigation.tpl file that is the template for the civicrm_navigation table that holds the menu. We don’t ship the file, but you can find it in our repository.
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

dragontree

  • Guest
Re: Where to find the translation strings?
July 09, 2010, 10:28:35 am
I'm sorry for posting on an old topic but it seems to be the same issue.

There are several strings thata I cant find anywhere. They are present in the po file but the translation does not work.
For example, the buttons when adding custom fields:
"New Group of Custom Fields"
"New Custom Field"

Anywhere else I should look?

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Where to find the translation strings?
July 27, 2010, 08:32:13 am
Quote from: dragontree on July 09, 2010, 10:28:35 am
There are several strings thata I cant find anywhere. They are present in the po file but the translation does not work.
For example, the buttons when adding custom fields:
"New Group of Custom Fields"
"New Custom Field"

Can you please update your forum profile with the CiviCRM version that you use? (These strings are not present in CiviCRM 3.2 anymore, for example.)
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Internationalization and Localization (Moderators: Michał Mach, mathieu) »
  • Where to find the translation strings?

This forum was archived on 2017-11-26.