First time here? Check out the FAQ!
0

Some strings can not be translated

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.

Vlad's avatar
43
Vlad
asked 2012-03-09 17:19:28 -0500, updated 2012-03-09 17:20:18 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

1

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

zaf's avatar
512
zaf
answered 2012-04-04 13:20:32 -0500
edit flag offensive 0 remove flag delete link

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's avatar Vlad (2012-04-15 14:44:30 -0500) edit
add a comment see more comments
0

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.

Olloff's avatar
97
Olloff
answered 2012-04-04 13:51:46 -0500, updated 2012-04-04 14:00:20 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments