Language anonymous for first time
I have a page in a space with plugin default language EN and additional DE. DE translation is not yet there.
My browser is configured to be DE.
My Confluence Default language is EN.
My Confluence is configured to not read the browser language via confluence.browser.language.enabled=false
If I go to the page with emptied cache etc. and not logged in I get the following:
Confluence shows everything in english (which is correct, due to ignoring my browser language and default = EN), the plugin language picker shows german (if I change my browser to english, it shows english, so it is based on my browser language).
The content shows a message:
---
No Translation available yet
You have German selected as language but this page has not been translated yet. Translate the page or view the content in the default space language below.
Display default
---
The problem is that the link "Display default" has an anchor to "#" which again brings me to the page that want to show itself in DE and brings again the message.
So there are two problems/bugs:
- It would be nice if the plugin could honour the confluence setting confluence.browser.language.enabled and if false always use the confluence default language if the user never picked one. This is rather a feature request as I understand that browser language detection is what most people want.
- The "Display default" Link must not point to a page that again reads the selected language from the browser but must force that the plugins default language, the one that in any case provides a good text, is used. There is a mixup in the meaning of "default language". The message indicates that the content is available in another language than the selected (the user did not select it, but the browser settings), but the link brings you to the same page again showing the same message. The link surely must bring me to the english version of the page as that is my plugin default language that I defined in the space settings regarding this plugin ...
Apart from this small thing I want to congratulate you. I checked out some multi-language plugins and this one is by far exactly what is needed!!!
Thankx!!
Lukas Lentner
-
Hi Lukas.
Thanks for reaching out.
The link to display default language in the anonymous mode will be fixed in the next release: https://k15t.jira.com/browse/VSN-4321.
Regarding the language to show when accessing the page for the 1st time. We have implemented the feature that Translations detect the browser language when user accesses the space for the 1st time, but the app doesn't consider Confluence settings.
Implementing this would add additional complexity to the product, and there’s no guarantee atlassian won’t change their behaviour. Why did you disable that confluence feature?
Roman.
-
Hi,
thanx for fixing the bug!!!
To my feature/settings request:
The reason why I do not want confluence and the plugin to autodetect the browser language is that I find it strange to have e.g. an hungarian confluence but only english content (as we only offer german and english content) FOR A VISITOR. Of course I could deinstall all these confluence language packs, but then I would deny a hungarian employee to get all confluence settings in his/her mother language.
Similarly: When the non-primary content translations like german are not very complete it is weired that confluence shows everything in german but the content is concretly not available in german.
So you see: It is all about the right expectation setting for a visitor.
But I honour your decision and I will just enable browser detection for confluence again ...
-
Hi Lukas.
I understand your point of view and respect your desire to provide your users with the best possible experience in their language. I have created a feature request for Translations to respect the confluence.browser.language.enabled system property: https://k15t.jira.com/browse/VSN-4336. There is currently no time frame for the implementation of this feature. Please sign up at https://k15t.jira.com/secure/Signup!default.jspa to watch, comment on or vote for this issue. We'll then send a notification for every status update.
Cheers,
Roman.
Please sign in to leave a comment.
Comments
3 comments