Ask Your Question
0

Some strings can not be translated

asked 2012-03-09 17:19:28 -0500

Vlad gravatar image Vlad
43 2 6

updated 2012-03-09 17:20:18 -0500

Hi all!

I'm trying to translate into russian some Askbot's interface that has not been translated yet.

But on my way I found some strings that I cannot find in .po files (even if I'm trying makemessages from scratch).

1) 'sign out' link at top bar

2) 'member since' in user profile

image description

3) big button 'ASK YOUR QUESTION' 'post

image description

4) 'post a comment' link on question page

image description

5) Asked, Seen and Last updated strings from the sidebar.

image description

Could anyone suggest how can I translate these strings? Any help would be appreciated.

delete close flag offensive retag edit

2 Answers

Sort by » oldest newest most voted
1

answered 2012-04-04 13:20:32 -0500

zaf gravatar image zaf
554 8 8 26

Try following these instructions, maybe it helps. I also had similar problems, most of which I solved the way it is explained there.

link publish delete flag offensive edit

Comments

When I run cd askbot python ../manage.py jinja2_makemessages -l ru -e html,py,txt

as described at http://askbot.org/en/question/2480/how-to-translate-django-applications?answer=3360#answer-container-3360 , an empty ru/LC_MESSAGES catalog is being created in askbot/locale catalog.

And I'd wonder if any .po file would be created, because all askbot code resides in site-packages.

Vlad ( 2012-04-15 14:44:30 -0500 )edit
0

answered 2012-04-04 13:51:46 -0500

Olloff gravatar image Olloff
117 5 4 14

updated 2012-04-04 14:00:20 -0500

Agreed with @zaf, you need to extract message string from your template and translate them manually or merge with existing translation.

Around a week ago I translated on 'ru' all strings of django.pot that was changed since last official translation update. You can find it here.

I need to aware you that .pot file is not very clean - over an thousand obsolete words (few hundred strings). Along with original translate there was annoying bug - you need to delete string #7172 ('#, python-format') to avoid compilation issues.

Hope it can be helpful for you.

link publish delete flag offensive edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2012-03-09 17:19:28 -0500

Seen: 82 times

Last updated: Apr 04 '12