Re: How can I get back my English pages (multi-lingual site updated from en to en-us)

2018-09-02 Thread victor jack
https://docs.djangoproject.com/en/2.0/topics/i18n/

check this out, but i don't think changing language_code from en to en-us
is the problem.

On Sat, Sep 1, 2018 at 2:31 PM Leo Treasure  wrote:

> Hello,
>
> I've needed to update the settings.py file LANGUAGE_CODE = 'en' to 'en-us'
> which has resulted in the English pages becoming empty.
>
> I've been told by my host that there maybe an SQL command I need to run to
> change the languages for the previously created pages over to en-us.
>
> Can someone help me with this please?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/086037f5-08b3-4816-85c1-82d22e03be70%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CABkm6MVvxLBM-%2BhwnyFDmyn_s74G8Ycs8fnxGF5m%2B5EZ9T7MLw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


How can I get back my English pages (multi-lingual site updated from en to en-us)

2018-09-01 Thread Leo Treasure
Hello,

I've needed to update the settings.py file LANGUAGE_CODE = 'en' to 'en-us' 
which has resulted in the English pages becoming empty.

I've been told by my host that there maybe an SQL command I need to run to 
change the languages for the previously created pages over to en-us.

Can someone help me with this please?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/086037f5-08b3-4816-85c1-82d22e03be70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.