Commit b9675b29 authored by Michal Čihař's avatar Michal Čihař

Set direction for extra languages as well

parent 778001e6
......@@ -308,6 +308,11 @@ class LanguageManager(models.Manager):
lang.name = props[1]
lang.nplurals = props[2]
lang.pluralequation = props[3]
if code in RTL_LANGS:
lang.direction = 'rtl'
else:
lang.direction = 'ltr'
lang.save()
def have_translation(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment