These are chat archives for allegro/ralph

15th
Jan 2019
lubw
@lubw
Jan 15 05:09

Hello, the Ralph support internationalization? I want to change the language of Ralph.
I change the file of settings/base.py ---> LANGUAGE_CODE.

Chinese:LANGUAGE_CODE = 'zh-hans' or
Japanese: LANGUAGE_CODE = 'ja'

There is no any change.
What should I do?

lubw
@lubw
Jan 15 05:53
ah, I know the reason.
Should comment out 'django.middleware.locale.LocaleMiddleware' in the MIDDLEWARE_CLASSES
✪ vi4m Marcin Kliks
@vi4m
Jan 15 10:52
@romcheg what do you think - should we include this somewhere in documentation?
Roman Prykhodchenko
@romcheg
Jan 15 11:28
@vi4m this should be fixed
users don't have to edit python files
therefore it's necessary to create a way to set up localization using the settings available in /etc