instead but it seems to be quite cumbersome
to start an i18n project just for dates translations.
Thanks, best regards,
Laurent Lyaudet
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiv
lt;https://docs.djangoproject.com/en/3.0/topics/i18n/translation/>" language
changing button.
{% load i18n %}
{% csrf_token %}
{% get_current_language as LANGUAGE_CODE %}
{% get_available_languages as LANGUAGES %}
{% get_language_info_list for LANGUAGES as languages %}
sword.html:
{% csrf_token %}
Password change
{% load i18n %}
{% language 'de' %}
{{ p_form|crispy }}
{% endlanguage %}
Save
Have you faced w
sing a
regular browser tab. Otherwise, I'll also look into it.
Cheers!
On Wednesday, July 17, 2019 at 12:44:57 PM UTC-4, Oscar Rovira wrote:
>
> Hi there,
> I have a Django site with multi-language support through i18n.
> The default user's language is set based on the browser h
Hi there,
I have a Django site with multi-language support through i18n.
The default user's language is set based on the browser headers but users
can change it via the regular set_language view.
Recently I noticed that the UI is shown in a different language than the
one my user is sup
On Monday 08 May 2017 09:27:52 Abdullah Sh. wrote:
> Well as far I can test, Django i18n does supports fall-back 'xx-YY' to
> 'xx' then to default ('en' in my case) but only for 'Accept-Language'
> user agent header. It does not do same for URL la
Well as far I can test, Django i18n does supports fall-back 'xx-YY' to 'xx'
then to default ('en' in my case) but only for 'Accept-Language' user agent
header. It does not do same for URL language switch.
Here is the solution I could come up
Well, official documentation says clearly it should fall-back (ex: fr-fr to
fr then to en) but my case raises 404 error.
Source: https://django.readthedocs.io/en/1.5.x/topics/i18n/translation.html
If a base language is available but the sublanguage specified is not,
> Django uses the b
Hey guys,
/opt/venv/bin/python ../manage.py makemessages -d djangojs -l en -l fr
Looking into debugging this further, I want to translate a few JS files but
the makemessages commands fails to create the Djanjojs files. I'm using
something like this :
url(r'^jsi18n/$',
JavaScript
Hi,
Am Fri, 1 Jan 2016 15:29:16 -0800 (PST)
schrieb Jure Erznožnik :
> 1. Expressions gathering vs declaring: Django has utilities to gather
> expressions from sources, txt files and also javascript files. While
> that by itself is a design choice, it also presents us with problems
> such as (pos
I've worked with Django for the past few months. While this - I realize -
is not much, so far it has been an extremely pleasant experience.
Everything seems to be designed just right and works really nicely out of
the box.
So I was that much more surprised when I had to prepare my first app for
We actively use django-pipeline package and its builtin solution for
javascript templates
<https://django-pipeline.readthedocs.org/en/latest/templates.html>
The problems begins when we needed to use i18n in this templates, for ex.:
<%= gettext('To translate')
Well, it's a real situation - I removed the django.admin app from
settings.py and then my translations worked - it's a basic occlusion - the
django.admin translations seem to be used before my own translations when
django.admin is enabled and my application has strings like 'Password' in
them.
is this a theoretical question or did you try and it is not working?
On Tue, Sep 2, 2014 at 1:26 PM, wrote:
> I've got some basic translations working in de_de (German), but it seems
> that django has brought it's own translations along for the ride after I
> compile. I has not translated 'Pas
I've got some basic translations working in de_de (German), but it seems
that django has brought it's own translations along for the ride after I
compile. I has not translated 'Password' in my locale files but DJango is
doing it automatically (I assume from the django.admin module?). That's
f
Here's a list of locales in Django:
https://github.com/django/django/tree/master/django/conf/locale
Am Mittwoch, 30. Juli 2014 14:47:03 UTC+2 schrieb ma...@tubeards.com:
>
> Hi,
>
> have a look at: http://www.i18nguy.com/unicode/language-identifiers.html
>
> The localization in django is based on
Hi,
have a look at: http://www.i18nguy.com/unicode/language-identifiers.html
The localization in django is based on region and language codes, some of
them are the same (like 'de') and some split (like 'en-us'). For 'mr'
you'll need to add the area code of india iirc.
Cheers
Am Mittwoch, 30.
Hello,
I am using internationalization feature in djnago framework.
In my setting.py I have following languages set:
LANGUAGES = (
('de', ugettext('German')),('en', ugettext('English')),('mr',
ugettext('Marathi')),('mwr', ugettext('Marwari')),('mun', ugettext\
('Munda')),('ne', uget
G. I read the docs, and I SWEAR it had the "l" as a capital. It's
always the simplest things. Thank you!
On Saturday, May 17, 2014 1:04:45 AM UTC-5, WongoBongo wrote:
>
> The L in setLang should be setlang as in the L is lowercase
>
> From my Django log "P
The L in setLang should be setlang as in the L is lowercase
>From my Django log "POST /i18n/setlang/ HTTP/1.1" 302 0
K
On Wednesday, May 14, 2014 2:45:43 PM UTC-7, Shawn H wrote:
>
> I'm beginning the process of adding some translations to one public page,
> and I
Copied the directly from the docs, version 1.6
My urls.py
from django.conf.urls import patterns, include, url
from sdcgis import settings
urlpatterns = patterns('',
#index
url('^sdc/home/',include('sdc_home.urls', namespace='sdc_home')),
Indeed
On 11.04.2014 12:45, Daniel Roseman wrote:
On Friday, 11 April 2014 06:55:12 UTC+1, Andrew Pashkin wrote:
Documentation says
<https://docs.djangoproject.com/en/1.4/topics/i18n/translation/#how-django-discovers-language-preference>,
that:
...it looks
On Friday, 11 April 2014 06:55:12 UTC+1, Andrew Pashkin wrote:
>
> Documentation
> says<https://docs.djangoproject.com/en/1.4/topics/i18n/translation/#how-django-discovers-language-preference>,
>
> that:
>
> ...it looks for a django_language key in the current use
I ended up using this snippet
<https://djangosnippets.org/snippets/2875/> for switching languages. It
simply reverses url with given language code.
On 11.04.2014 09:55, Andrew Pashkin wrote:
Documentation says
<https://docs.djangoproject.com/en/1.4/topics/i18n/translation/#how-django-
Documentation says
<https://docs.djangoproject.com/en/1.4/topics/i18n/translation/#how-django-discovers-language-preference>,
that:
...it looks for a django_language key in the current user's session
This is the latest commit
<https://github.com/djan
's default LANGUAGE_CODE is 'en-us' but there is no 'en-us' in the
> default LANGUAGES setting. That's why I got 404 page.
>
> Should I just change the LANGUAGE_CODE to 'en' or add 'en-us' to the
> LANGUAGES setting?
>
> Is the def
Here is an interesting paper on the use of FOSS in translation (in
English, about Spanish)
http://www.trans-int.org/index.php/transint/article/view/205/127
cheers
L.
--
We are like a drunk blundering through a crowd of pickpockets. That we
are not poor and naked already is a testament to eithe
another question, which I've not seen answered in the
>> documentation: is there any custom filter/tag to access those translated
>> fields from a template? Thanks
>
> If you do {% load i18n %} somewhere in your template then you can use the {{
> employee.position
On Mar 6, 2013, at 4:20 PM, Roberto López López wrote:
>
> Thanks for your suggestion Johan.
>
> Just another question, which I've not seen answered in the
> documentation: is there any custom filter/tag to access those translated
> fields from a template? Thanks
Thanks for your suggestion Johan.
Just another question, which I've not seen answered in the
documentation: is there any custom filter/tag to access those translated
fields from a template? Thanks
Best,
Roberto
On 03/05/2013 10:39 PM, Johan ter Beest wrote:
>
> On Mar 5, 2013, at 10:31 PM, Ro
Hi,
I am setting up i18n in my django app. I have added the following to my
settings.py:
PROJECT_PATH = os.path.abspath(os.path.dirname(__file__))
LOCALE_PATHS = (
os.path.join(PROJECT_PATH, 'locale'),
)
LANGUAGES = [
('
On Mar 5, 2013, at 10:31 PM, Roberto López López wrote:
> Hi guys,
>
> I am developing a django application and between my requirements there
> is being able to set the model fields into different languages.
>
> For example:
>
> class Employee(models.Model):
>position = models.CharField()
Hi guys,
I am developing a django application and between my requirements there
is being able to set the model fields into different languages.
For example:
class Employee(models.Model):
position = models.CharField()
# etc.
The employee position won't be the same in English and Spanish.
My urls.py looks like this:
from django.conf.urls import patterns, include, url
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
from django.conf.urls.i18n import i18n_patterns
import settings
urlpatterns = i18n_patterns('',
url(r'^request/?$', 'custrequest.views.request'),
Hello,
I have a Django project (Django 1.4.5) at an URL like this:
http://host/subdir/django-app
This is implemented with apache + WSGI and is configured in the apache
configuration:
WSGIScriptAlias /subdir /some/path/to/django-app.wsgi
Now I implemented I18N and tried it on the webserver
Hi,
I am using a form which defines this field:
terms = forms.BooleanField(
error_messages={'required': _('You must accept the terms and
conditions')},
label="",
help_text=_(mark_safe("I understand and accept the terms of use and privacy policy of this site."))
)
unf
On Mon, 2012-05-07 at 11:44 +0530, kenneth gonsalves wrote:
> > It'd be strange, but certainly possible, it is broken. We have
> > a test case checking that such feature works:
> >
> >
> https://github.com/django/django/blob/master/tests/regressiontests/views/tests/i18n.py#L140
> >
> > Could you
LANGUAGES setting?
Is the default 'en-us' LANGUAGE_CDE setting useless when using with i18n
URL?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/dja
On Thu, 2012-05-03 at 10:29 -0300, Ramiro Morales wrote:
> >
> > I had gone through the docs and added the LOCALE_PATHS setting - but
> it
> > just does not work - have tried on fedora, debian, ubuntu ...
>
> Good to know that, I couldn't infer that from your initial email.
>
> It'd be strange, b
On Thu, May 3, 2012 at 9:17 AM, kenneth gonsalves
wrote:
>
> I had gone through the docs and added the LOCALE_PATHS setting - but it
> just does not work - have tried on fedora, debian, ubuntu ...
Good to know that, I couldn't infer that from your initial email.
It'd be strange, but certainly po
On Wed, 2012-05-02 at 10:53 -0300, Ramiro Morales wrote:
> > I want two languages in my project - en and ta. I have set this up
> in
> > many projects over the years and this is the first time I am seeing
> > failure. The problem is that on switching to tamil, the django
> strings
> > are getting t
On Wed, May 2, 2012 at 4:13 AM, kenneth gonsalves
wrote:
> hi,
>
> I want two languages in my project - en and ta. I have set this up in
> many projects over the years and this is the first time I am seeing
> failure. The problem is that on switching to tamil, the django strings
> are getting tran
hi,
I want two languages in my project - en and ta. I have set this up in
many projects over the years and this is the first time I am seeing
failure. The problem is that on switching to tamil, the django strings
are getting translated, but not the local strings. Django is obviously
not finding my
msgid u"邀請已送到%(email)s"
and add "# coding=utf-8" at the first line of your .py file.
2012/1/4 李 强
> Lack of a full stop,maybe.
>
> 在 2011-12-5,下午2:07, Tsung-Hsien 写道:
>
> > Hello
> >I get the wrong message when type a string which needed to format
> > such as
> >
> > msgid "An inviatation wa
Lack of a full stop,maybe.
在 2011-12-5,下午2:07, Tsung-Hsien 写道:
> Hello
>I get the wrong message when type a string which needed to format
> such as
>
> msgid "An inviatation was sent to %(email)s."
> msgstr "邀請已送到%(email)s"
>
> ---
.mo files after you make any
changes to the .po files.
https://docs.djangoproject.com/en/1.3/topics/i18n/localization/#compiling-message-files
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us
Thank you!
the default character of MySQL does not utf-8, so after altering the
character, the message can show on the page.
However, the message shows only English, except I don't use the %
(email)s.
I have been delete the "#, fuzzy" and remain the "#, python-format",
but the string still show Eng
Please look at the thread below:
http://stackoverflow.com/questions/873419/converting-to-safe-unicode-in-python
And you would want to make sure that database encoding style is already set
to UTF-8 (if applicable).
2011/12/5 Tsung-Hsien
> Hello
>I get the wrong message when type a string whi
Hello
I get the wrong message when type a string which needed to format
such as
msgid "An inviatation was sent to %(email)s."
msgstr "邀請已送到%(email)s"
--
Incorrect string value: '\xE9\x82\x80\xE8\xAB\x8B...
Hello, I have an app using Django 1.4 dev. Im using i18n_patterns and well,
it works perfectly.
If im on a spanish session and I go to:
/foo/
It redirects me to:
/es/foo/
so far so good.
But when I disable DEBUG, it doesn't work.
If you go to:
/foo/ it just redirect you to 500.html.
Witho
Hallöchen!
Salvatore Iovene writes:
> On Sat, Nov 5, 2011 at 7:43 AM, Torsten Bronger
> wrote:
>
>> Sending e.g. "Expires: ..." so that the page expires immediately
>> solved the problem.
>
> Sending an Expires header so that the page expires immediately
> does work, but it feels like fixing a h
On Sat, Nov 5, 2011 at 7:43 AM, Torsten Bronger
wrote:
> Sending e.g. "Expires: ..." so that the page expires immediately
> solved the problem.
Sending an Expires header so that the page expires immediately does
work, but it feels like fixing a headache with a guillotine. The
browser should cache
Hallöchen!
Salvatore Iovene writes:
> On Friday, November 4, 2011 5:31:46 PM UTC+2, Salvatore Iovene wrote:
>>
>> if hasattr(request, 'session'):
>> request.session['django_language'] = lang
>> else:
>> response.set_cookie(settings.LANGUAGE_COOKIE_NAME, lan
On Friday, November 4, 2011 5:31:46 PM UTC+2, Salvatore Iovene wrote:
>
> if hasattr(request, 'session'):
> request.session['django_language'] = lang
> else:
> response.set_cookie(settings.LANGUAGE_COOKIE_NAME, lang)
>
I have solved my problem by setting the
PS: I have also tried the @vary_on_header('Accept-Language') decorator, but
unfortunately that didn't help either.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-
Hi,
I've got a Django website that's multi-lingual, and I'd like to use
memcaching on it. While everything works fine with caching disabled, I have
observed the following when caching is enabled:
1) Open any page on the website
2) Click on link (the image of a little flat) to change language
3)
Just answered my own question .. if request.LANGUAGE_CODE isn't in
context .. it's not.
Meh.
On Jul 25, 11:00 pm, h3 wrote:
> Is there a mechanisme to detect if i18n/10n are installed from the
> template code ?
>
> I don't see anything about it in the official d
Is there a mechanisme to detect if i18n/10n are installed from the
template code ?
I don't see anything about it in the official doc..
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
...what shall I say: problem solved. By simply using RequestContext
instead of Context. Yes, the error message said so, but I somehow
assumed that this concerns the i18l code and not my view...
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
Yes, the internationalization part seems to be configured ok and
appears working. It is really the CSRF failure that bogging me.
Apart from my current project I just created a fresh one (using Django
1.3) just to confirm the issue is not caused by possible side-effects
from within my original proj
Have you set the LANGUAGES in settings.py?
Something like ...
ugettext = lambda s: s
LANGUAGES = (
('de', ugettext('German')),
('fr', ugettext('French')),
('en', ugettext('English')),
)
And in urls.py:
(r'^i18n/',
Hi all
I continue getting
CSRF token missing or incorrect.
when trying to call /i18n/setlang/
Here the pertinent snippets from settings.py:
MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.Se
Hey everyone, thanks for looking. I am developing a site that has
spanish translations. I18n is working properly, but when I switch to
spanish, my form output that has dates is in spanish. This is a
problem because I am sending out staff emails on some forms, which
cannot have spanish in them. So
On Wed, May 4, 2011 at 1:32 AM, Karen Tracey wrote:
> On Tue, May 3, 2011 at 8:11 AM, Tom Evans wrote:
>>
>> If you require your site
>> to be in Mongolian, it can be in Mongolian, even though Django does
>> not itself have a Mongolian translation,
>
> Need a better example. Django has had a Mong
t to prevent "a mixture of
> translated
>strings".
>2. "A good starting point is to copy the Django English .po file
> and to
>translate at least some *translation
> strings*<http://docs.djangoproject.com/en/1.3/topics/i18n/#term-translation-string>.&
On Tue, May 3, 2011 at 8:11 AM, Tom Evans wrote:
> If you require your site
> to be in Mongolian, it can be in Mongolian, even though Django does
> not itself have a Mongolian translation,
>
Need a better example. Django has had a Mongolian translation for a year
now: http://code.djangoproject.c
cial to explain it
better:
1. If the issue is driven by technical difficulty stemming from xgettext
then don't excuse it as an attempt to prevent "a mixture of translated
strings".
2. "A good starting point is to copy the Django English .po file and to
translate a
On Tue, May 3, 2011 at 1:43 PM, Uri Goldstein wrote:
> Hi Tom,
>
> I definitely agree that having docs is good, reading and comprehending the
> docs is better. Reading and comprehending the docs yourself you might have
> noticed the following quote: "If you were to try this and Django supported
>
Hi Tom,
I definitely agree that having docs is good, reading and comprehending the
docs is better. Reading and comprehending the docs yourself you might have
noticed the following quote: "If you were to try this and Django supported
it, you would inevitably see a mixture of translated strings (
On Tue, May 3, 2011 at 12:39 PM, Uri Goldstein wrote:
> Thank you Tom and KG.
>
> I now see that my friend was right(!).
> http://docs.djangoproject.com/en/1.3/topics/i18n/localization/#how-to-create-language-files
> says: "Django does not support localizing your applicati
On Tue, 2011-05-03 at 04:39 -0700, Uri Goldstein wrote:
> KG, in the workaround you mention as my second option, are you
> referring to
> the folder /conf/locale ? Is there where I will be putting my "new"
> languages?
yes - for example if the language you are adding is martian (with
abbreviati
Thank you Tom and KG.
I now see that my friend was right(!).
http://docs.djangoproject.com/en/1.3/topics/i18n/localization/#how-to-create-language-files
says: "Django does not support localizing your application into a locale for
which Django itself has not been translated."
The
On Tue, 2011-05-03 at 03:59 -0700, Uri Goldstein wrote:
> I'm fine in knowing that the i18n infrastructure in Django can handle
> any
> available language - that was the crux of my question.
to be precise, there are two parts in localisation - one is the strings
in django itself
x27;m sure we'll get there sme day :).
>
> I'm fine in knowing that the i18n infrastructure in Django can handle any
> available language - that was the crux of my question.
>
If you wish to have a language available that is not in Django's set
of base translations, so tha
Thank you for your quick response.
I now realize that my friend was referring to "the strings commonly
displayed by Django". Naturally these are yet to have been translated to all
available languages but I'm sure we'll get there sme day :).
I'm fine in knowing that t
On Tue, 2011-05-03 at 02:19 -0700, Uri Goldstein wrote:
> Being new to Django, I was told by a friend that it only supports i18n
> for a
> limited set of languages - these being only languages that have had
> Django
> itself translated to.
>
> Is this true? Doesn
On Tue, May 3, 2011 at 19:19, Uri Goldstein wrote:
> Hello,
>
> Being new to Django, I was told by a friend that it only supports i18n for a
> limited set of languages - these being only languages that have had Django
> itself translated to.
>
> Is this true? Doesn't m
Hello,
Being new to Django, I was told by a friend that it only supports i18n for a
limited set of languages - these being only languages that have had Django
itself translated to.
Is this true? Doesn't make much sense to me :) Is there a definitive list of
languages supported by Dja
Are there any best practices or experiences dealing with
internationalized sites? Most importantly with URL structure and
crawling effects (The DB i18n is not an issue at the moment).
In some sites I've worked I've added a switch language button which
changes the language but the URLs
I've got a situation similar to this one:
http://stackoverflow.com/questions/3933824/djangos-i18n-with-third-party-apps
Basically, I have a pip-installed third party library with strings
marked for localization but with no localizations provided. In my
project I would like to pr
On Mon, Mar 7, 2011 at 3:30 AM, Rory McCann wrote:
> Link to page:
> http://www.technomancy.org/python/django-template-i18n-lint/
>
Good stuff. I was planning to write one, but would rather use this ;)
IF we make this stuff 'really' good (i mean, handling all false positives
mplate and
print out all the non-i18n bits of text that you have left to do.
Link to page:
http://www.technomancy.org/python/django-template-i18n-lint/
It's a bit rigid at the moment, and works for our code base. It uses
regular expressions to 'parse' the HTML & Django templates
On Wed, 2011-02-23 at 02:21 -0800, Federico Capoano wrote:
> Thanks Hernik. I liked the idea of django-i18n-model but I couldn't
> get it working. Now I'm about to try django-transmeta.
>
>
django-transmeta rocks bigtime, especially if you have an unknown set of
language
Thanks Hernik. I liked the idea of django-i18n-model but I couldn't
get it working. Now I'm about to try django-transmeta.
On Feb 23, 10:34 am, "Henrik Genssen"
wrote:
> I feel, this should be something integrated into Django, too.
>
> So far I am using transdb (but
uot;Django users"
>subject: [] database i18n
>
>I'm quite surprised that django doesn't have a native i18n solution
>for models.
>
>I've been trying some apps but one doesn't work with latest versions,
>one is no longer developed, another one has no documentat
I'm quite surprised that django doesn't have a native i18n solution
for models.
I've been trying some apps but one doesn't work with latest versions,
one is no longer developed, another one has no documentation, another
one simply doesn't work.
Tomorrow I'm goin
The problem seems to come from your python path, that is not well defined.
Try to define path in an absolute (not realtive) fashion.
import os
os.environ['PYTHONPATH'] = '/path/to/myproject'
os.environ['DJANGO_SETTINGS_MODULE'] = 'myproject.settings'
and then, apache should be able to execute c
Following are the environment I am working on:
1. Django 1.2.3
2. Python 2.4
3. wsgi
4. Centos 5.4
>From apache, I can run makemessage command, and it works. It creates
the *.po files.
I use the following statement for this.
os.system("django-admin.py makemessages -l hi")
But I am unable to do co
Yes, I did that part,
How can I navigate transmeta source for that function? I used python
setup.py install,
Sent from my iPhone
On Jan 9, 2011, at 1:12 AM, Alessandro Pasotti wrote:
2011/1/8 Mo Mughrabi
> Transmeta is much nicer and much simpler. I just installed it and I already
> like t
2011/1/8 Mo Mughrabi
> Transmeta is much nicer and much simpler. I just installed it and I already
> like the way it is designed,
>
> I just ran into a small problem with the ./manage.py sync_transmeta_db not
> working. Any idea how it can be solved?
>
> Am just getting an unknown command,
>
>
>
PM, Alessandro Pasotti wrote:
> 2011/1/8 Mo Mughrabi
>
> This is not exactly what I need.
>>
>> this library is not done as per the common best practices for i18nlizing
>> data.
>>
>> All you have to do is declare an object (field) as an i18n field and the
2011/1/8 Mo Mughrabi
> This is not exactly what I need.
>
> this library is not done as per the common best practices for i18nlizing
> data.
>
> All you have to do is declare an object (field) as an i18n field and the
> engine takes care of the rest. This example you can s
This is not exactly what I need.
this library is not done as per the common best practices for i18nlizing
data.
All you have to do is declare an object (field) as an i18n field and the
engine takes care of the rest. This example you can see in java struct and
php symphony, when executing the
I've worked on/with this app
https://github.com/Anue/django-polyglot/
Hope it helps.
Rgds,
Marcos
On Fri, Jan 7, 2011 at 12:20 PM, Mo Mughrabi wrote:
> Hello,
>
> in my design there are some models where I need to store certain fields in
> different languages. I was wondering if anyone has done
Hello,
in my design there are some models where I need to store certain fields in
different languages. I was wondering if anyone has done it before? I saw
some django modules that help do model translations but some of them did not
work properly.
Any best practices out there? below is my code
*m
On Thu, 2010-10-14 at 23:03 -0700, BlackMoses wrote:
> First table contains universal field which doesn't depends on
> language. Second contains fields that suposed to be in many languages,
> 'culture' field which store language code ('en', 'de' etc). Both
> tables are related with foreign keys of
On 15 ?.?. 2010, at 13:03, BlackMoses wrote:
> have question if Django have support for I18n models.
>
> My question is if there are any Django standards/tools that i should
> use for it? Or I have to take care with it on my own.
Yes there are standard tools, pleas
have question if Django have support for I18n models. For example in
Symfony when i create 'news' table there are 2 tables in fact :
news
id
date
news_i18n
id
culture
title
text
First table contains universal field which doesn't depends on
language. Second conta
In i18n javascript_catalog view, there has a get_format() function,
but how to format date use these formats? The returned format by
get_format() is in php date() style, but no such a js format function
can deal with it.
--
You received this message because you are subscribed to the Google
ore; it makes the POST request but it doesn't change the language.
Difficult to tell, Should Work(tm). Do you {% load i18n %} in your root
template, pass context_instance=RequestContext(Request) to
render_to_response and actually have translatable strings and
translations for them? If you alrea
1 - 100 of 565 matches
Mail list logo