5
votes
1answer
287 views

How to register a Pylons translator object?

I've got an application that runs in several processes (one webserver and few processes that are used for heavy calculations). The goal is to make these calculation processes return localized errors. ...
4
votes
1answer
160 views

pygtk+glade+localization

Default locale in my system (Linux) - en_US. When I change locale to russian (LANG=ru_RU ./show_form.py), python string "hello to me" shows correctly (in console), other (glade form) - in english. ...
3
votes
1answer
416 views

Enable Django format localization by default

This is about the Format Localization feature that was implemented in Django 1.2. In order to use this feature, you must add a localize=True parameter to all your form fields. I am trying to ...
2
votes
1answer
88 views

Context specfic localisation in Django

I have a Django application. Localising this into multiple languages is a simple and straightforward but one part of the site is an complex rich internet application. This part of the site allows the ...
1
vote
0answers
23 views

Django localization - Different localization settings for numbers and strings

My app currently only provides an English User Interface. All text is kept in English. However I want to display numbers following the German number notation. The reason for this is that I create an ...
1
vote
0answers
24 views

Is it possible to generate a single .pot file from Sphinx documentation?

I'm undergoing the task of i18n / l10n the documentation of a largish project. The documentation is done with Sphinx, that has off-the shelf basic support for i18n. My problem is similar to that of ...
1
vote
0answers
30 views

International month in django urls

I have this permalink def: @models.permalink def get_absolute_url(self): creation_date = timezone.localtime(self.start_publication) return ('entry_detail', (), { 'year': ...
1
vote
0answers
33 views

Prevent partial localization in webapp2

A website has most pages fully translated in 2 languages. For any new (yet untranslated) page, some strings that appeared elsewhere on the website are automatically translated when rendering the page. ...
1
vote
0answers
221 views

Error while localizing Javascript content in Django

I AM getting the following error: ReferenceError: Can't find variable: gettext I have added the following in my urls.py: js_info_dict = { 'domain': 'djangojs', 'packages': ('my_project_name',), } ...
1
vote
0answers
91 views

Avoid localization of some values in django templates

I have a model with a FloatField that has to be rendered in a template without localization and another FloatField that has to be rendered with localization. How can you disable localization for ...
0
votes
0answers
92 views

pyinstaller , wxPython and Localizations

Im totally at a loss. and this is going to take someone with some in-depth knowledge (probably of pyinstaller,moreso than anything else) I have been 100% unsuccessful at including the ...
0
votes
0answers
90 views

Django Celery and localization problems

I have a bit problem with celery, I don't know why its using different localization then my django project. Here is error: [2012-09-05 16:15:02,945: ERROR/MainProcess] Task ...
0
votes
0answers
33 views

Custom localizer in pyramids with chameleon templates

I do not want to use gettext as localization backend in pyramids. I have decided to write my own localizer and I have really no clue, how to tell to the chameleon templates to use it. How to do that?
0
votes
0answers
130 views

Django - localeurl always uses “en” for the index page

I'm just starting a big project with Django. For SEO I needed to have all urls including the language as root element (also to help adwords' campaigns in several countries), so that now a url looks ...
0
votes
0answers
161 views

Writing a custom translation template tag in Django

I'd like to write a custom template tag in Django that works the same way as Django's trans template tag but mine should check for translations in a custom PO file, that is separate from my Django ...

1 2
15 30 50 per page