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) »
  • Line-ending character in msgid is systemdependent
Pages: [1]

Author Topic: Line-ending character in msgid is systemdependent  (Read 1110 times)

HanV

  • I post occasionally
  • **
  • Posts: 35
  • Karma: 0
Line-ending character in msgid is systemdependent
March 08, 2010, 02:30:19 am
In several translations there is a line-ending character used (\n), that will only work on Unix but not on Windows.

Example: Your dashboard provides a one-screen ...
 On the first CiviCRM screen with no dashlets can not be translated, in the string in templates/contact/dashboarddashlet.tpl the text is over more lines, and in the po-file is used \n for the line-ending symbol.

I think the best solution is to remove the line-break in the tpl (making the lines longer) and to remove the \n in the po-file civicrm-core. Then it will work, I have tried this on Windows Vista.


Other translations are (all in civicrm-core.po)

Create reports for your users from any of the report templates ...
in templates/CRM/report/page/templateList

Available dashboard elements - dashlets - are ...
in templates/CRM/Contact/Page/Dashlet.tpl

But there can be more
« Last Edit: March 08, 2010, 02:39:19 am by HanV »
HanV

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Line-ending character in msgid is systemdependent
March 08, 2010, 04:51:57 am
Thanks, I’ll verify and fix. Filed CRM-5928 to track this.
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) »
  • Line-ending character in msgid is systemdependent

This forum was archived on 2017-11-26.