motis-project / motis

Intermodal Mobility Information System
https://motis-project.de
MIT License
214 stars 47 forks source link

Web interface is always displayed in German #531

Open yvan-algoo opened 3 months ago

yvan-algoo commented 3 months ago

Hi,

The web interface (https://europe.motis-project.de/ and https://routing.spline.de) is always displayed in German:

However, from what I understand, English and French translations are available (https://github.com/motis-project/motis/tree/master/ui/web/src/Localization): am I missing something?

Regards, Yvan

felixguendling commented 3 months ago

Currently, there's no detection of the language but you can use the lang query parameter: https://europe.motis-project.de/?lang=fr https://europe.motis-project.de/?lang=en

yvan-algoo commented 3 months ago

Thanks @felixguendling! Using the lang parameter in the URL is a good workaround :-)

I do not know if you want to close this issue or not, so I let it open.

felixguendling commented 3 months ago

We can leave it open until we have language detection working. Although not in the current UI version as this one is deprecated. But I'm working on a new one (currently only used for debugging).

felixguendling commented 1 month ago

Still relevant with v2 as it's not translated at all yet (TODO).