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) »
  • Quotes withing language string in .po file
Pages: [1]

Author Topic: Quotes withing language string in .po file  (Read 3437 times)

Hans.S

  • I post occasionally
  • **
  • Posts: 51
  • Karma: 5
Quotes withing language string in .po file
January 19, 2011, 10:10:43 am
How do you deal with a quote withing a language string?

ie 10' 3" (10 feet 3 inches)

This breaks the translation mo file.

Is there way of escaping the "?

Thanks for all tips

Michał Mach

  • Moderator
  • Ask me questions
  • *****
  • Posts: 748
  • Karma: 59
    • CiviCRM site
  • CiviCRM version: latest
  • CMS version: Drupal and Joomla latest
  • MySQL version: numerous
  • PHP version: 5.3 and 5.2
Re: Quotes withing language string in .po file
January 20, 2011, 03:07:03 am
Try 10\' 3\". Are you using text editor to edit po files? Some PO editor should do the trick with escaping for you.

Thx,
m
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

My absolute favourite: Wordpress Integration!.

Donate Now!

Hans.S

  • I post occasionally
  • **
  • Posts: 51
  • Karma: 5
Re: Quotes withing language string in .po file
January 24, 2011, 07:02:07 am
Thanks for that. I am using notepad++.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Internationalization and Localization (Moderators: Michał Mach, mathieu) »
  • Quotes withing language string in .po file

This forum was archived on 2017-11-26.