Is there a way to extract the strings in Javascript messages into the po file so I can translate them easily? Now, when I use Django's translation mechanism with makemessages, only the translatable strings in html and py files seem to be included in the po file. The strings in the JS messages (which are in forum\\skins\\default\\media\\js) seem to be out.

Now, I replace the strings in files but I think it's not a good way. And when I change the string, I noticed that the js files are ANSI coded. So, I also need to change it to UTF8.

Thanks for any ideas.

asked 26 Oct '10, 17:35

%C4%B0smail%20Ar%C4%B1's gravatar image

İsmail Arı
7114
accept rate: 100%

Be the first one to answer this question!
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
×14

Asked: 26 Oct '10, 17:35

Seen: 271 times

Last updated: 26 Oct '10, 17:35

powered by OSQA