Hi,

I've searched online for an answer to this but couldn't find anything. I 
have a multi-tenant Django app that supports multiple languages, both in 
code (django.po/django.mo) and for customer data. However, not every 
customer wants to translate their data into every language we support 
(think customers in different countries where some languages are less 
relevant as in others).

What I'm hoping to do is offer per-tenant config for which subset of our 
supported languages the app will offer.  I haven't yet seen how I can 
override LocaleMiddleware to suppress translation to a language a customer 
has chosen to not offer (but our django.po/django.mo supports it).

The end goal is to prevent an inconsistent experience where app UI is 
returned in a supported language but all the customer data shown is in 
English, for example.

Thank you for any pointers!

Best regards,
Shawn



-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a6caafe5-2c62-4161-88a4-e7af52d74641n%40googlegroups.com.

Reply via email to