I am translating osqa to catalan. I translate all the strings but I have peroblems with al strings that have more than one line. OSQA shows the text in English, ignoring the translation.

Here is an example, I just translate the first two words to test, but I can't see it on the web.

  #: forum/skins/default/templates/auth/temp_login_request.html:8
msgid ""
"\\n"
"    If you're experiencing problems accessing your account, or if you forgot "
"your password,\\n"
"    here you can request a temporary login key. Fill out your account email "
"and we'll send you a temporary access link that\\n"
"    will enable you to access your account. This token is valid only once "
"and for a limited period of time.\\n"
" "
msgstr ""
"\\n"
"    Si tu estas experimentat problems accessing your account, or if you forgot "
"your password,\\n"
"    here you can request a temporary login key. Fill out your account email "
"and we'll send you a temporary access link that\\n"
"    will enable you to access your account. This token is valid only once "
"and for a limited period of time.\\n"

Any idea?

asked 18 Jan '11, 17:22

Francesc%20March's gravatar image

Francesc March
1614
accept rate: 0%

edited 18 Jan '11, 17:22


It might be because the msgstr ends with \\n and msgid does not. It should warn about it though if you compile with python manage.py compilemessages

I have made a Finnish translation (this) and multiline messages work for me.

link

answered 19 Jan '11, 09:56

jpa's gravatar image

jpa
1113
accept rate: 40%

edited 19 Jan '11, 09:57

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×38

Asked: 18 Jan '11, 17:22

Seen: 324 times

Last updated: 19 Jan '11, 09:57

powered by OSQA