Can you explain what are django translation
On Thu 10 Jan, 2019 11:59 pm Ashutosh Das I am using django 2.1 , here is all the settings related to translation:
>
>
> MIDDLEWARE = [
> 'corsheaders.middleware.CorsMiddleware',
> 'django.middleware.security.SecurityMiddleware',
> 'django.c
I am using django 2.1 , here is all the settings related to translation:
MIDDLEWARE = [
'corsheaders.middleware.CorsMiddleware',
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
If anyone is curious,
We some mega help from the man in the know (Dan Hilton) I have managed
to write a snippet to handle this functionality.
You can find it here!
http://www.djangosnippets.org/snippets/1985/
On Apr 14, 9:18 am, Rob Charlwood wrote:
> Hello all,
>
> I'm a little stuck working
Hello all,
I'm a little stuck working with some template filters in django in a
multi-lingual site.
Basically some of our content in an Arabic version is not being
translated and so we need some of template filters to just output in
English. However they continue to output in Arabic.
The main tem
On Nov 11, 1:12 pm, "Antoni Aloy" <[EMAIL PROTECTED]> wrote:
> I have such a problem once and it was solved adding the application in
> the config file.
>
> On the other hand, I assume you have extracted thetranslationstrings
> and you're using the right language in your browser, that is the
> la
NVM. I figured it out
the folder that contained the manage.py file from which i called the
"makemessages" command
was located on a folder below my templates. And I called it from
within that directory.
But since "makemessages" only runs over files in the directory in
which it was called and all
2008/11/11 davidynamic <[EMAIL PROTECTED]>:
>
> Are there any other settings required to make .po files for
> translation strings in templates besides adding {% load i18n %} to
> the top of the page. All my translation tags inside my views work fine
> and are loaded into the .po files but the tem
Are there any other settings required to make .po files for
translation strings in templates besides adding {% load i18n %} to
the top of the page. All my translation tags inside my views work fine
and are loaded into the .po files but the template tags aren't
working. I"m using both {% trans ""
The current template tag implementation for i18n seems a bit
cumbersome and looks like it makes the template code harder to
maintain.
Would it be possible to code the translation logic in the template
parser?
Automatically extract all strings in the template code which could be
translated (text b
9 matches
Mail list logo