开发者

django localisation with one language

开发者 https://www.devze.com 2022-12-10 12:55 出处:网络
I would like to use localisation in my application in the future. So I would like to have my code prepared.

I would like to use localisation in my application in the future. So I would like to have my code prepared.

But I have the problem, if user come from language other than CS(main one). In this time, i would like to have all 开发者_C百科people across the world see just only CS version.

I already set my LANGUAGE_CODE = 'cs'. But when i come with the EN browser, i do not see my main language.

Can you help me?

Thanks, Tomas


What do you see instead of your main language when using a browser set to EN?

Have you tried setting LANGUAGE_CODE to 'cs-CZ'?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号