#27 i18n dose not work in 2.0.1

Closed
opened 5 years ago by vaginaplant · 2 comments

In https://h.distsn.org, it seems to be 2.0.1, but i18n never works.

In https://h.distsn.org, it seems to be 2.0.1, but i18n never works.
Niklas Poslovski commented 5 years ago
Owner

The feature works but you have to enable the locale on your server. Edit /etc/locale.gen and enable en_US,ja_JP,de_DE,pt_BR,pl_PL and ko_KR and then run locale-gen. Now all supported languages should be available on your server. I know that this doesn't make much sense but it's a weird limitation of the PHP gettext() function.

The feature works but you have to enable the locale on your server. Edit /etc/locale.gen and enable en_US,ja_JP,de_DE,pt_BR,pl_PL and ko_KR and then run locale-gen. Now all supported languages should be available on your server. I know that this doesn't make much sense but it's a weird limitation of the PHP gettext() function.
vaginaplant commented 5 years ago
Poster

Now https://h.distsn.org is multilingual. Thanks a lot.

Now https://h.distsn.org is multilingual. Thanks a lot.
Sign in to join this conversation.
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.