We use i18n_patterns to add language codes to urls and to help us serve different content based on the language required by the client.
But we can also wish to have country specific content. For example:
127.0.0.1:8000/en --> should serve content specific to the United States
127.0.0.1:8000/ca/fr --> should serve content specific to canada and french
Is there another way that Django wants us to handle delivering country specific content, and if there isn't, why doesnt there exist libraries and more demand for the type of library I am asking about.
PS: I found a github library that does this, but it seems to be outdated with the newer versions of Django Github Link
Aucun commentaire:
Enregistrer un commentaire