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

russian language #100

Closed
temask88 opened this issue Feb 10, 2021 · 5 comments · Fixed by #500
Closed

russian language #100

temask88 opened this issue Feb 10, 2021 · 5 comments · Fixed by #500
Labels
1. to develop Accepted and waiting to be taken care of bug Something isn't working

Comments

@temask88
Copy link

The online office interface does not open in russian language, despite the fact that the language of the system and profile is set to russian

@Schluggi
Copy link

Schluggi commented Mar 9, 2021

I think this is a generally problem. All other languages doesn't work either.

I saw this issue earlier in this post (maybe helpful).

@serioustk
Copy link

I just also stumbled about this problem.
Seems like language selection is done by setting a cookie.

Workaround: edit the DcLcid cookie for your office online domain. Per default it contains ui=1033&data=1033. Changing this e. g. to ui=1031&data=1031 leads to german lanuage.

It would be great if the nextcloud plugin would set this cookie or at least init the office online connection with the nextcloud user language.

@juliusknorr juliusknorr added 1. to develop Accepted and waiting to be taken care of bug Something isn't working labels Jan 12, 2022
@juliusknorr
Copy link
Member

Needs an additional adjustment to the logic that was implemented for the DC_LLCC mapping introduced in https://github.com/nextcloud/officeonline/pull/148/files

@philenchen
Copy link

I have the same problem using traditional chinese. The office online apps version is 2.0.2 and it should be implemented for the DC_LLCC mapping. But I trace Parser.php and debug print string like this:
http://wacserver/we/wordeditorframe.aspx?ui=en-US&
Thank makes my word online using English UI interface. My workaroud is to change lib/WOPI/Parser.php line 272 . The languageMatches value changes to 'zh-TW'
I think it will work by using url rewrites.

@juliusknorr
Copy link
Member

I prepared a patch for this issue in #500

Testing and feedback would be very welcome. You can find details on how to apply a patch at https://docs.nextcloud.com/server/latest/admin_manual/issues/applying_patch.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of bug Something isn't working
Projects
None yet
5 participants