Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mixed languages #261

Open
hurradieweltgehtunter opened this issue Jan 31, 2019 · 8 comments
Open

Mixed languages #261

hurradieweltgehtunter opened this issue Jan 31, 2019 · 8 comments

Comments

@hurradieweltgehtunter
Copy link

hurradieweltgehtunter commented Jan 31, 2019

My language is set to english but notifications are displayed in german.
Switching to other languages switches the notification language, too (tested with French, Netherlands, Suomi).
Switching back to english displays the notification also in english, which is then correct.

App version: 0.3.5

@pmaier1

image

@pmaier1
Copy link
Contributor

pmaier1 commented Feb 1, 2019

Has the notification been generated before you switched the language to English? When switching to another language, is it still the same notification that gets properly translated or did you trigger a new one?

@pmaier1
Copy link
Contributor

pmaier1 commented Feb 1, 2019

For me it works properly on 10.0.10 with language 'English'. It's even translated on-the-fly when switching between languages back and forth.

@hurradieweltgehtunter
Copy link
Author

hurradieweltgehtunter commented Feb 1, 2019

Language was set to english and the notification was generated in german. I changed the language to german and back to english after this.
Server version 10.0.10.4

@pmaier1
Copy link
Contributor

pmaier1 commented Feb 1, 2019

Hm, strange and not reproducible for me. Can you actually reproduce it?
Maybe it corresponds to German system language.

@hurradieweltgehtunter
Copy link
Author

I created a new user, put him in a custom group and the message appears again in german although the language is set to english.

@pmaier1
Copy link
Contributor

pmaier1 commented Feb 4, 2019

Hm, I still can't reproduce it but my system language is English.

@PVince81 can you or @VicDeo maybe quickly check what's going on here? THX.

@PVince81
Copy link
Contributor

PVince81 commented Feb 4, 2019

@hurradieweltgehtunter do you have a backup of the DB ? you could check in oc_preferences to see what value you had in the locale.

maybe that value was set to something that is not available in the dropdown and confused the system.

or no value was selected at first and some part of the code detected the language setup in the browser/OS ?

need to dig into the L10N code to remember how the detection is done

@PVince81 PVince81 added this to the backlog milestone Feb 4, 2019
@hurradieweltgehtunter
Copy link
Author

Quite hard to get detailed information as it is an owncloud.online instance.
I did not set any language before when it occured. It was set to english as default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants