[Koha-bugs] [Bug 4883] New: Problem translating \n (newline) with pootle.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 10 16:11:20 CEST 2010


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4883

           Summary: Problem translating \n (newline) with pootle.
 Change sponsored?: ---
           Product: Koha
           Version: rel_3_2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P5
         Component: I18N/L10N
        AssignedTo: chris at bigballofwax.co.nz
        ReportedBy: katrin.fischer at bsz-bw.de
         QAContact: koha-bugs at lists.koha-community.org
                CC: frederic at tamil.fr
   Estimated Hours: 0.0


Created attachment 2235
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=2235
pootle screenshot

There is a problem with \n (newline) and pootle.

At the moment there is no possibility to translate \n (newline) with pootle.
I think newlines and tabs might be also confusing for new translators.

An example:

Pootle shows: (see screenshot)
- Budget amount cannot be blank\n
- Etatsumme darf nicht leer sein\n

--------------------

po file: \\n 
#. SCRIPT
#:
/home/katrin/kohaclone/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tmpl:84
msgid "- Budget amount cannot be blank\\n"
msgstr "- Etatsumme darf nicht leer sein\\n"

--------------------

Poedit:
- Budget amount cannot be blank\\n
- Etatsumme darf nicht leer sein\\n

I think the best solution is to removes tabs, newlines etc. from strings that
need translation.

\\n does not work and is shown behind the translated text as \\n.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Koha-bugs mailing list