The following -
#: contrib/admin/templates/admin/base.html:26
msgid "Welcome,"
msgstr "Bienvenido/a,"
is from the Django spanish django.po file. I understand that the
language supports the word 'Bienvenido' ending in an 'o' or an 'a'.
Any idea how the django template tag {% trans "Welcome," %} s
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 = [
('
Is there a way to chain languages in the i18n interface?
We're using a custom Interchange tag right now to do i18n in our
webstore. We support Estonian, Latvian, Lithuanian, Russian, and
English. The language chaining goes something like this:
if locale is estonian:
print i18n(me
Hi everyone,
I'm tasked with translating a mostly database-driven site into
Spanish. I'm familiar with how to use Django's internationalization on
static strings in templates, but not with text coming from a database,
so I'm looking for some best practices advice...
Should I:
1. Make a separate
hese threads about i18n and figured out i could use it
to translate my polls (i still could use help with the problem in
previous thread though). I read through django i18n documentation and
found that, while it described how to create translation file and set
up languages selector and all such, it
Hi:
I tried all the ways possible and impossible to make my Django project have
i18n...
Put all settings (INSTALLED_APPS, CONTEXT_PROCESSORS), generated languages,
compiled messages, edited the ".po" files, setted the ugettext to "_", in
views all the strings are like th
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
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.
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
Hello, all. Forgive me as I'm still fairly new to django, but I'm
having some issues getting i18n running, and I can't seem to find any
help in the online docs.
I've read chapter 18 (i18n) of djangobook.com, and chapter 10 relating
to RequestContext. I'
http://code.djangoproject.com/ticket/5073
Isn't it a typical use case that attributes of variables are used in
templates?
If this is not supported a view has to call a template like this
return render_to_response('polls/detail.html', {'object': p,
'question': p.question,})
which is not
I'm writing multilanguage app, in which i18n happens when client enters
certain domain, like in wikipedia.
But I got problem - request.META['SERVER_NAME'] always set in
ServerName Apache setting, not in queried domain name (which handled in
Apache with ServerAlias *.domain.my).
W
Hello,
How could I get the sitemap feature working for my i18n site ?
I use the standard django setup for my i18n, and that works via
cookies,
and as far as I see, google sitemaps do not work with cookies.
Any clue where I could find some more information ?
With regards,
Robbin
How can I have a Django site in multiple languages?
A.
The is an existing db internalization application -
http://code.google.com/p/django-multilingual/. Try to look at it.
On Thu, Nov 6, 2008 at 11:20, Brandon Taylor <[EMAIL PROTECTED]>wrote:
>
> Hi everyone,
>
> I'm tasked with translating a mostly database-driven site into
> Spanish. I'm familiar
arguments that you pass to the fields
that you create for your models.
you'll find your examples here.
http://docs.djangoproject.com/en/dev/topics/i18n/?from=olddocs#lazy-translation
Then you can use the same message (po) files you use when rendering
static strings in templates
on that way?
I think you should:
3. Save every item the same way as original(default language) with
information about i18n of its content.
for example:
for article, add one column to table, like 'i18n' or 'language'.
in my cms, every item can be langualized that way.
to receiv
Hello everyone,
I'm trying to implement caching for my bilingual site. The problem is
that once I enable caching and I change the language (via the example
code in
http://docs.djangoproject.com/en/dev/topics/i18n/?from=olddocs#the-set-language-redirect-view
), the page does not change
Hey guys,
I have some problems with the translations of my website. Locally, it
works flawlessly. But as soon as I run the project on my server, it
won't translate. I've translated the project per app, and I'm
wondering if it could have something to do with my PYTHONPATH? As of
now, my .htaccess
Hello django-users, first post to this list :)
I often use the i18n support of Django in my projects, and I have a
small annoyance/problem that maybe someone can help me with.
If I decide to customize e.g. admin/index.html, by copying it over
from django to my project, strings in that template
y the docs about translation. The provided snippet for
accessing django.conf.urls.i18n seems to crash django, here is the
debug:
==
Environment:
Request Method: POST
Request URL: http://lingo.example.net/i18n/setlang/
Django Version: 1.1 pre-al
Hello!
My project is alredy working with i18n, but the i18n js doesnt work.
I have created my dir locale at the root of the project, have run
makemessages and it create the djangojs.po correcty. With compile
messages I get the djangojs.mo ok.
The problem is how i confgure it in URLconf, if i make
Hi,
while translating a site, I wonder if there is something that keeps
care of all national formats and encodeings like:
- money symbol ( pre or post sign)
- number format
- date format
- etc.
-- Hinnack
--~--~-~--~~~---~--~~
You received this message because yo
Hello, does somebody know if there's a way to localize admin
permission names, so that, for example, in the user change form,
instead of 'Can add ' a localized version of it is showed?
I've searched documentation and the open tickets, but I have not found
anything talking about this. (Ticket #65
Hi Alan,
> Is this really meant to work so that you create translations in a file
> manually and then create objects with names/descriptions that have
> translation in the file or is there a more automatic way to do this?
currently, Django's i18n system is made to translate stati
Hi Alan,
> Is this really meant to work so that you create translations in a file
> manually and then create objects with names/descriptions that have
> translation in the file or is there a more automatic way to do this?
currently, Django's i18n system is made to translate stati
o do this?
>
> currently, Django's i18n system is made to translate static strings in
> a project. It is not meant to dynamically assign translations to model
> instances. For assignment of translated labels on a model, you can
> check youhttp://code.google.com/p/transdb/though I don
Hi, there!
I've configured bilingual site. At this site some forms are present.
All the forms field 'verbose_name' attribute are marked with ugettext
utility.
The problem is that when language is changed labels for form's fields
does not change.
All the localization files are provided and prope
2009/11/16 Carlos Ricardo Santos :
> Hi:
> I tried all the ways possible and impossible to make my Django project have
> i18n...
> Put all settings (INSTALLED_APPS, CONTEXT_PROCESSORS), generated languages,
> compiled messages, edited the ".po" files, setted the ugettext t
This support has been there since 2005, and I have implemented sites
in finnish, tamil also. One thing is that unless django itself has the language
translated, i18n will not work. I do not see pt-PT, I only see pt and pt-BR.
Perhaps you can try one of those - or translate django in pt-PT. If you
t;...
I have implemented english ;-) I assume you mean implementing a non-english
language? This support has been there since 2005, and I have implemented
sites
in finnish, tamil also. One thing is that unless django itself has the
language
translated, i18n will not work. I do not see pt-PT, I only s
hi everyone,
just spent a few hours trying to find out what's going wrong with
i18n... i've just updated a two-year old project (using django-
multilingual-ng) to trunk only to find that
a) switching languages using /i18n/setlang/ doesn't have any effect
anymore
b) p
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
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
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
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
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
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()
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
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
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
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
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.
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
In this project I have two languages defined in my settings.py, and
have set LANGUAGE_CODE. I've created the po/mo-files and the site is
translated to whatever language I specify in settings.
The problem arises when I try to set the language runtime. I've
implemented the standard example of how t
Hi there,
is there any tutorial/howto/example for a smart solution to bring i18n
into django models?
i have an object A with a property name. this name should be available
in any languages specified in settings.LANGUAGES. until now i have an
I18NNameValueField with the properities
languagecode
esented by the Accept-Language HTTP request header.
b) you create a minimal translation of Django to "sp" (in addition to the
translation of your app), as per the "Locale restrictions" note here:
http://www.djangoproject.com/documentation/i18n/#how-to-create-language-fi
>
> a) you (and your users') browsers sends "sp" in the list of languages
>preference represented by the Accept-Language HTTP request header.
>
> b) you create a minimal translation of Django to "sp" (in addition to the
>translation of your app)
I've been working with translation in Django and it mostly works but
I'm wondering if there is a 'cleaner' way of doing things. That is,
here is what I seem to have to do to get a page translated into the
correct language:
URLs are of the form $domain/$language_code/$page (e.g. www.example.com/e
Hi,
Is there a way to specify different flatpages for the same url, but for
a different language???
So it would default to the one page if there's only one defined, but if
language is fr-fr and there's a page of the same url defined for tha
language, it would return that version instead.
I'll h
Hello,
I'm a newbie to python and django and I hope that u can help me
I'm just trying to use i18n, but I got no translation at all
Here is the code I wrote in the template index.html
{
Yes, sorry. Now I see.
{% blocktrans with value|filter as myvar %}
This will have {{ myvar }} inside.
{% endblocktrans %}
That makes sense, definitly.
Thanks a lot!
Katja
Malcolm Tredinnick schrieb:
> On Fri, 2007-09-07 at 00:07 -0700, ksuess wrote:
>> http://code.djangoproject.com/ticket/5073
>
On Fri, 2007-09-07 at 00:07 -0700, ksuess wrote:
> http://code.djangoproject.com/ticket/5073
> Isn't it a typical use case that attributes of variables are used in
> templates?
> If this is not supported a view has to call a template like this
> return render_to_response('polls/detail.html', {'obj
On 4 Дек., 10:47, "Alexander Solovyov"
<[EMAIL PROTECTED]> wrote:
> But I got problem - request.META['SERVER_NAME'] always set in
Sorry, I found answer - META['HTTP_HOST']. :) Documentation keeps
silence about this. :(
--~--~-~--~~~---~--~~
You received this m
Alexander Solovyov wrote:
> Sorry, I found answer - META['HTTP_HOST']. :) Documentation keeps
> silence about this. :(
Another way is to use 'sites' app and keep domain in a table separately
for each site.
--~--~-~--~~~---~--~~
You received this message because
Ivan Sagalaev wrote:
> Another way is to use 'sites' app and keep domain in a table separately
> for each site.
I thought about that, but this solution is not flexible as 'HTTP_HOST'
variable - I need to add all hosts I want to use.
--~--~-~--~~~---~--~~
You rec
Can someone tell how Django does i18n. I am thinking of doing my next
project using Django.
UI is template tagged, based i18n and i18n dependent database content?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Hi there,
Actually, it's plainly that. It's just not working, and I don't really
know where to look for a flaw. It's just a blind guess, but maybe django
is not correctly locating my .mo files? I've triple-checked their
location and tried in every place stated in the documentation or the
django b
Hello,
Here is how I define a form in my views:
class MyForm(forms.Form):
name= forms.CharField(label=_('Name'))
...
The problem is _('Name') is translated when I restart the server
(Django or Apache),
but not when I switch the browser locale.
I tried both
from django.utils.tra
Never mind. Sorry, for some reason the search turn nothing for i18n. I
saw the thread about this.
A.
I found that the zh_CN translation option should be "Simplified
Chinese", but not "Traditional Chinese" in the global_settings.py in
conf directory。
And I'm the Chinese translator, I want to know how to submit the changes.
--
I like python!
My Blog: http://www.donews.net/limodou
NewEdit Maillist:
Hello,
C:\soft\Python23\Lib\site-packages\sonikete>make-messages.py -l fr
processing language fr
Traceback (most recent call last):
File "C:\soft\django_src\django\bin\make-messages.py", line 78, in ?
(stdin, stdout, stderr) = os.popen3(cmd, 'r')
ValueError: popen3() arg 2 must be 't' or 'b
I want my application to be i18n enabled. So, in my project directory I
ran: make-messages -l nl. Before this I created the conf/locale
directory in projectdirectory.
This all worked just fine. Compilation also worked fine.
In my settings file I have put:
LANGUAGE_CODE = "nl"
Hi,
I would like to use
{% printformfooter _("Submit Message") "Cancel" %}
as it is documented here:
http://www.djangoproject.com/documentation/i18n/#in-template-code
but I get the error:
"
TemplateSyntaxError at /project/1/message/create/
printformfooter takes 3 arg
Hi all!
Can somebody please tell me what's wrong with my template and/or po
file?
trans tags work fine, but blocktrans isn't translated.
http://dpaste.com/hold/84553/
thanks
pihentagy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Hi there,
I am trying to get I18N working for a website. So far the language
selection, custom messages and their translation in templates using {%
trans "" %} etc. works like a charm. However I can't quite figure out
how to get things like the Paginator (it displays and
such
://docs.djangoproject.com/en/dev/topics/i18n/?from=olddocs#the-set-language-redirect-view
> ), the page does not change. The Content-Language header that the
> browser receives is indeed changed accordingly, but apparently the
> caching system is not aware of the change.
> I've set up
EMAIL PROTECTED]> wrote:
>
> > Hello everyone,
>
> > I'm trying to implement caching for my bilingual site. The problem is
> > that once I enable caching and I change the language (via the example
> > code
> > inhttp://docs.djangoproject.com/en/dev/topics/i18n/
On Sun, Nov 16, 2008 at 10:14 PM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
> Hello Ramiro,
>
> thanks for your reply. According to the docs, the Locale and Session
> middlewares should set the Vary-On headers accordingly, and indeed
> they are:
>
> Date: Sun, 16 Nov 2008 23:49:29 GMT
> Serve
On Thu, 2008-11-20 at 07:17 -0200, Ramiro Morales wrote:
> On Sun, Nov 16, 2008 at 10:14 PM, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
> >
> > Hello Ramiro,
> >
> > thanks for your reply. According to the docs, the Locale and Session
> > middlewares should set the Vary-On headers accordingly
2008/11/20 Malcolm Tredinnick <[EMAIL PROTECTED]>:
>
>
> Andrew's final comment on that ticket is accurate. Removing the code
> duplication is pretty easy there and following the examples in
> tests/regressiontests/middleware/tests.py to create some tests for it
> should be fairly straightforward
Alex Jonsson schrieb:
> Hey guys,
>
> I have some problems with the translations of my website. Locally, it
> works flawlessly. But as soon as I run the project on my server, it
> won't translate. I've translated the project per app.
Translation per app only works if you have the LocaleMiddleware
Wiadomość napisana w dniu 2008-11-25, o godz. 09:23, przez Thomas
Guettler:
>> I have some problems with the translations of my website. Locally, it
>> works flawlessly. But as soon as I run the project on my server, it
>> won't translate. I've translated the project per app.
> Translation per
The last days I did my first i18n application and befor I read this:
http://docs.djangoproject.com/en/dev/topics/i18n/
{{{
Application message files are a bit complicated to discover -- they need
the LocaleMiddleware.
If you don't use the middleware, only the Django message files and
pr
Wiadomość napisana w dniu 2008-11-25, o godz. 11:17, przez Thomas
Guettler:
> The last days I did my first i18n application and befor I read this:
> http://docs.djangoproject.com/en/dev/topics/i18n/
> {{{
> Application message files are a bit complicated to discover -- they
On Tue, 2008-11-25 at 11:39 +0100, Jarek Zgoda wrote:
> Wiadomość napisana w dniu 2008-11-25, o godz. 11:17, przez Thomas
> Guettler:
>
> > The last days I did my first i18n application and befor I read this:
> > http://docs.djangoproject.com/en/dev/topics/i18n/
&g
na w dniu 2008-11-25, o godz. 11:17, przez Thomas
> > Guettler:
>
> > > The last days I did my first i18n application and befor I read this:
> > >http://docs.djangoproject.com/en/dev/topics/i18n/
> > > {{{
> > > Application message files
u 2008-11-25, o godz. 11:17, przez Thomas
> > > Guettler:
>
> > > > The last days I did my first i18n application and befor I read this:
> > > >http://docs.djangoproject.com/en/dev/topics/i18n/
> > > > {{{
> > > > Application message file
On Tue, 2008-11-25 at 03:01 -0800, Alex Jonsson wrote:
> Thank you everyone for your feedback.
>
> I forgot to mention that I read that paragraph in the docs as well and
> already installed the LocaleMiddleware. This makes the translation of
> the built-in modules work, but not my per-app transl
I did just check the permissions, and even tried change them to a=rwx.
Still not working.
I tried a couple of other things as well - I made a symlink in one of
my folders on my PYTHONPATH pointing to my project (it required me to
do that in order to run the django-admin.py makemessages command) a
Woohoo! Looks like I solved it.
The error I had made was that inside my locale folders I had named
Swedish "sv_se" which wasn't right. I looked into the django/conf/
locale folder and saw that there they referred to Swedish as "sv". So
by changing the folder names Django finally found them.
Oh,
Hello Aloy,
I saw the great work you did on ticket #5691. Thanks a lot, I highly
appreciate that! We have to offer our first release with the bug, but
I hope to be able to include your patch or a workaround for the next
one and will give feedback once that's been done.
With regards,
Maik
--~--~-
2008/11/25 [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
> Hello Aloy,
>
> I saw the great work you did on ticket #5691. Thanks a lot, I highly
> appreciate that! We have to offer our first release with the bug, but
> I hope to be able to include your patch or a workaround for the next
> one and will g
On Wed, 2008-12-03 at 12:51 +0100, Elvis Stansvik wrote:
> Hello django-users, first post to this list :)
>
> I often use the i18n support of Django in my projects, and I have a
> small annoyance/problem that maybe someone can help me with.
>
> If I decide to customize e.g
2008/12/4 Malcolm Tredinnick <[EMAIL PROTECTED]>:
>
>
> On Wed, 2008-12-03 at 12:51 +0100, Elvis Stansvik wrote:
>> Hello django-users, first post to this list :)
>>
>> I often use the i18n support of Django in my projects, and I have a
>> small annoyance
When google spiders our i18n translated django websites, does it try
and indicize all languages? is it possible to force the language by a
GET var (for example &language_code=en) ?
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
SOASI Soc.Coop. - www.soasi.com
Svil
Ok, I believe I've found a buggg ;)
The problem is locale.translate can't handle utf encoded language
code. To avoid doing so I needed to add "lang_code = lang_code.encode
('ascii')" to line 334 of django/utils/translation/trans_real.py.
Could someone take a peek if this is right (things started
x27;, globalpath,
[to_locale(lang_code)]) is not None:
File "/usr/lib/python2.5/gettext.py" in find
437. for nelang in _expand_lang(lang):
File "/usr/lib/python2.5/gettext.py" in _expand_lang
132. locale = normalize(locale)
File "/usr/lib/python2.5/locale.py&quo
Thank you Karen :)
My python install had some weird patches. Now everything works
absolutely fine :)
Thanks again :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send
2009/8/18 caiobos :
>
> Hello!
> My project is alredy working with i18n, but the i18n js doesnt work.
> I have created my dir locale at the root of the project, have run
> makemessages and it create the djangojs.po correcty. With compile
> messages I get the djangojs.mo ok.
>
On Fri, 2009-02-20 at 11:04 -0800, eleom wrote:
> Hello, does somebody know if there's a way to localize admin
> permission names, so that, for example, in the user change form,
> instead of 'Can add ' a localized version of it is showed?
There isn't any way at the moment. Django itself does not
on name field is not stored in the database in such a
> fashion to allow lookup from the .po files? Isn't that how Django
> accomplishes i18n for other strings?
>
> On Feb 20, 6:27 pm, Malcolm Tredinnick
> wrote:
> > On Fri, 2009-02-20 at 11:04 -0800, eleom wrote:
&g
from the .po files? Isn't that how Django
accomplishes i18n for other strings?
On Feb 20, 6:27 pm, Malcolm Tredinnick
wrote:
> On Fri, 2009-02-20 at 11:04 -0800, eleom wrote:
> > Hello, does somebody know if there's a way tolocalizeadmin
> > permission names, so that, f
On Wed, May 20, 2009 at 12:01 PM, Dmitriy Sodrianov wrote:
>
> Hi, there!
>
> I've configured bilingual site. At this site some forms are present.
> All the forms field 'verbose_name' attribute are marked with ugettext
> utility.
>
> The problem is that when language is changed labels for form's f
On 20 май, 23:13, Alex Gaynor wrote:
> On Wed, May 20, 2009 at 12:01 PM, Dmitriy Sodrianov wrote:
>
>
>
>
>
> > Hi, there!
>
> > I've configured bilingual site. At this site some forms are present.
> > All the forms field 'verbose_name' attribute are marked with ugettext
> > utility.
>
> > The pr
Hi,
I have some batch process that send i18n mails, I'm using a template
to render the message body.
The subject is translated but not the body.
This is a sample code:
from django.utils import translation
from django.utils.translation import ugettext as _
lang = user.get_profile().langua
Hello guys!
After following this tutorial (http://scottbarnham.com/blog/2008/08/21/
extending-the-django-user-model-with-inheritance/) to be able to
extend the default user class of Django, the i18n module stopped
working. I gave the new model that inherits from User the name
CustomUser. When I
hi ,
i translate my project to persian following the django documentation , but
when i try to use persian translation i see in my project that some string
translated but some others not , i mark all of them for translating , also
since persian language is a rtl but i still see that my page load in
Hi guys,
In http://www.djangobook.com/en/2.0/chapter19, there is a paragraph
Translation works on variables. Again, here’s an identical example:
def my_view(request):
sentence = 'Welcome to my site.'
output = _(sentence)
return HttpResponse(output)
(The caveat with using variables o
To make your code more portable, I would suggest to have settings.py
file as follow : see below.
It is still unclear to me what needs to be done to catch up the
language in my profile.
Another issue I have is that all the languages are shown ...
How to limit the number of languages to a sub-set (in
1 - 100 of 565 matches
Mail list logo