Ask Your Question
0

Some strings can not be translated

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

Vlad gravatar image

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.

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
1

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

zaf gravatar image

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

edit flag offensive delete link more

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 gravatar imageVlad ( 2012-04-15 14:44:30 -0500 )edit
0

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

Olloff gravatar image

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

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

Seen: 272 times

Last updated: Apr 04 '12