This list is not here to find pages in the documentation for you. The
documentation has a contents page, and search.
On Aug 13, 2012 3:45 AM, "Gelonida N" <gelon...@gmail.com> wrote:

>
> On 08/13/2012 12:54 AM, Marcin Tustin wrote:
>
>> So, what part, exactly is a problem? What have you tried?
>>
>
> Changing settings.LANGUAGE_CODE to another language, but this is obiously
> nto what I am looking for, as this does not allow to change the language on
> a user by use base.
>
> If anybody showed my how to select the language on a requests basis, then
> the problem should basically be solved and I should be able to solv ethe
> rest by myself.
>
>
> It may be, that there is an obvious mentioning in the documentation.
> However I fail to see it. Thus my question.
>
>
> What I'd like to achieve is to be able to have the language settings on a
> user by user basis.
>
> I assume, that this can be achieved via some middleware and some state
> variable, that I had to link to a user.
> I did not find the related documention and wanted to know if anybody can
> point me to the right doc (or section of the doc)
>
> The link you refer to is exactly one page and somehow I miss to see any
> outgoing links to more specialized topics.
> I know, that I rad already more docs about I18n for django, but don't
> remember the chapter / link name.
>
> In fact the link doesn't even mention, that changing
> settings.LANGUAGE_CODE allows to change the language site wise.
> So there must be some other doc explaining more.
>
>
>
>> On Sun, Aug 12, 2012 at 6:52 PM, Gelonida N <gelon...@gmail.com
>> <mailto:gelon...@gmail.com>> wrote:
>>
>>     On 08/12/2012 08:46 PM, Marcin Tustin wrote:
>>
>>         This is linked from the Django front page:
>>         https://docs.djangoproject.__**com/en/1.4/topics/i18n/
>>         
>> <https://docs.djangoproject.**com/en/1.4/topics/i18n/<https://docs.djangoproject.com/en/1.4/topics/i18n/>
>> >
>>
>>         Come back with specific questions when you get stuck.
>>
>>
>>
>>     Thanks for your answer.
>>
>>     I created already all the l18n messages and I can switch the
>>     language site wise  by changing the language in settings.py
>>
>>     However Now I'd like to change them via user preferences. (not
>> cookies)
>>     (So if one user changes the language on one m,achine it should be
>>     changed on any other machine if he logs in.
>>
>>     I'd prefer not to set the language as suggested by the browser, but
>>     let the user the choice even if his useragent suggests another
>>     prefered language.
>>
>>
>>     There seems to be a url based approach and a cookies based approach
>>     I wonder what would be best for my scenario.
>>     (I am in full control of the web server and can add redirects /
>>     rewrite rules, etc. if this helps)
>>
>>
>>     This might be explained somewhere in more details in the Django
>>     docss however I did not find the related page.
>>
>>     The doc mentions:
>>     "It uses these hooks to localize Web apps for particular users
>>     according to their preferences."
>>
>>     but I did not find the how
>>
>>
>>
>>         On Sun, Aug 12, 2012 at 1:10 PM, Gelonida N <gelon...@gmail.com
>>         <mailto:gelon...@gmail.com>
>>         <mailto:gelon...@gmail.com <mailto:gelon...@gmail.com>>> wrote:
>>
>>
>>              I'd like to have a web site, where the can switch the
>> language
>>              The first time the user connects the language would be the
>>         prefered
>>              language as sugegsted by the news agent,
>>              then the user could select the prefered lanngauge in some
>> user
>>              preference settings.
>>
>>
>>
>>              What would be the standard way to do this in Django?
>>
>>              Thanks in advance for comments,  examples, snippets, links,
>>
>>              --
>>              You received this message because you are subscribed to the
>>         Google
>>              Groups "Django users" group.
>>              To post to this group, send email to
>>         django-users@googlegroups.com <mailto:django-users@**
>> googlegroups.com <django-users@googlegroups.com>>
>>              
>> <mailto:django-users@__googleg**roups.com<http://googlegroups.com>
>>         
>> <mailto:django-users@**googlegroups.com<django-users@googlegroups.com>
>> >>.
>>
>>              To unsubscribe from this group, send email to
>>              
>> django-users+unsubscribe@__goo**__glegroups.com<http://goo__glegroups.com>
>>         <http://googlegroups.com>
>>              
>> <mailto:django-users%__**2bunsubscr...@googlegroups.com<django-users%25__2bunsubscr...@googlegroups.com>
>>         
>> <mailto:django-users%**252Bunsubscribe@googlegroups.**com<django-users%25252bunsubscr...@googlegroups.com>
>> >__>.
>>
>>              For more options, visit this group at
>>         
>> http://groups.google.com/____**group/django-users?hl=en<http://groups.google.com/____group/django-users?hl=en>
>>         
>> <http://groups.google.com/__**group/django-users?hl=en<http://groups.google.com/__group/django-users?hl=en>
>> >
>>              
>> <http://groups.google.com/__**group/django-users?hl=en<http://groups.google.com/__group/django-users?hl=en>
>>         
>> <http://groups.google.com/**group/django-users?hl=en<http://groups.google.com/group/django-users?hl=en>
>> >>.
>>
>>
>>
>>
>>
>>         --
>>         Marcin Tustin
>>         Tel: 07773 787 105 <tel:07773%20787%20105>
>>
>>         --
>>         You received this message because you are subscribed to the Google
>>         Groups "Django users" group.
>>         To post to this group, send email to
>>         django-users@googlegroups.com
>>         
>> <mailto:django-users@**googlegroups.com<django-users@googlegroups.com>
>> >.
>>         To unsubscribe from this group, send email to
>>         
>> django-users+unsubscribe@__goo**glegroups.com<http://googlegroups.com>
>>         
>> <mailto:django-users%**2bunsubscr...@googlegroups.com<django-users%252bunsubscr...@googlegroups.com>
>> **>.
>>         For more options, visit this group at
>>         
>> http://groups.google.com/__**group/django-users?hl=en<http://groups.google.com/__group/django-users?hl=en>
>>         
>> <http://groups.google.com/**group/django-users?hl=en<http://groups.google.com/group/django-users?hl=en>
>> >.
>>
>>
>>
>>     --
>>     You received this message because you are subscribed to the Google
>>     Groups "Django users" group.
>>     To post to this group, send email to django-users@googlegroups.com
>>     <mailto:django-users@**googlegroups.com<django-users@googlegroups.com>
>> >.
>>     To unsubscribe from this group, send email to
>>     django-users+unsubscribe@__goo**glegroups.com<http://googlegroups.com>
>>     
>> <mailto:django-users%**2bunsubscr...@googlegroups.com<django-users%252bunsubscr...@googlegroups.com>
>> **>.
>>     For more options, visit this group at
>>     
>> http://groups.google.com/__**group/django-users?hl=en<http://groups.google.com/__group/django-users?hl=en>
>>     
>> <http://groups.google.com/**group/django-users?hl=en<http://groups.google.com/group/django-users?hl=en>
>> >.
>>
>>
>>
>>
>> --
>> Marcin Tustin
>> Tel: 07773 787 105
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Django users" group.
>> To post to this group, send email to django-users@googlegroups.com.
>> To unsubscribe from this group, send email to
>> django-users+unsubscribe@**googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/**group/django-users?hl=en<http://groups.google.com/group/django-users?hl=en>
>> .
>>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to django-users+unsubscribe@**
> googlegroups.com <django-users%2bunsubscr...@googlegroups.com>.
> For more options, visit this group at http://groups.google.com/**
> group/django-users?hl=en<http://groups.google.com/group/django-users?hl=en>
> .
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to