Impossible to choose language on help.ubuntu.com

Bug #1532537 reported by Alexander
38
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Online publishing of the Ubuntu documentation
Fix Released
Wishlist
Unassigned
Ubuntu Server Guide
Fix Released
Wishlist
Doug Smythies
ubuntu-docs (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

I am a Dutch user. However, for virtually any technical documentation, English is the lingua franca on the web. It is an incredible nuisance to look up technical details in Dutch. I appreciate the effort to make help.ubuntu.com accessible in all languages, however it is a TERRIBLE idea (and quite frankly, since the content is available in English, but I can't access it, I classify it as a bug) to prevent people from changing the language they read it in.

Ubuntu 14.04 LTS
I expect to be able to read online help files in English.
Instead, I am forced to read them in Dutch.

Tags: language
Revision history for this message
Peter Matulis (petermatulis) wrote :

Hi Alexander. It's the first time I hear such a complaint but I do see your point. I know it's not ideal but you will need to switch your browser's preferred language. I use Chrome and a quick search led me here (it works for me):

https://goo.gl/PJybjG

Revision history for this message
Doug Smythies (dsmythies) wrote :

I use firefox. I set the language to Dutch. Thereafter I got Dutch. In the past I have heard from another Dutch person that they would prefer English, particularly for the serverguide. We also heard once from a Russian that they would prefer a subdirectory per language rather than the language extension all in one directory method. I guess we would have to understand the magnitude of the desire here before considering changes.

Changed in ubuntu-docs (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-docs (Ubuntu):
status: New → Confirmed
Revision history for this message
Adam Niedling (krychek) wrote :

I wish this wasn't a wishlist bug.
Help.ubuntu.com looks hard coded in Hungarian to me. I even tried a US anonymous proxy and it was still Hungarian.
How am I supposted to read it in English?
Is there any way to access it?

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

@Adam: Proxies has nothing to do with it; it's a pure browser setting.

In Firefox: Edit -> Preferences -> Content -> Languages. Make an English option be on top of that list - that's all.

Revision history for this message
Alexander (alex2143) wrote :

Nevertheless, this is not logical in any sense. Having to change your browser settings in order to view a website in a different language is not something that would come to my mind at all, and many visitors are likely to be less tech-savvy.

Seeing as how it is a serious detriment to the usability of the content to have it in a different language than English (the de facto lingua franca of the internet) and how there is no clear and unambiguous instruction for users as to how they should go about changing the language, I still think that it would be better to be able to manually select the language. This gives people the option to read it either in English (which is arguably more useful for technical documentation if you speak English properly, since you won't recognize a lot of jargon once it's translated), or in their native language if they're more comfortable with that.

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Well, currently the web server responses in the language the browser asks for, or in English if there is no preferred language set in the browser. This technique is used:

https://httpd.apache.org/docs/2.4/content-negotiation.html

It would be doable to add a note to the pages, which explains it to the users, but changing the technique for selecting language won't be done in the near future due to a lack of resources.

Revision history for this message
Alexander (alex2143) wrote :

I realize and appreciate that the team has limited manpower and resources to work with. It sounds like adding a note about how to change language preferences would be a good short-term solution.

Thank you for your responses!

affects: ubuntu-docs (Ubuntu) → help.ubuntu.com
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

This is not only for the help.ubuntu.com project, of course...

Changed in serverguide:
importance: Undecided → Wishlist
status: New → Confirmed
Changed in ubuntu-docs (Ubuntu):
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Andreas Enström (anen) wrote :

The documentation is broken in my language with faulty grammar and interspersed English word. That makes it extremely hard to read. I too wish the language wasn't forced on the user.

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

@Andreas: It's not forced on anyone. You choose the preferred language for multilingual web content via your browser; please see comment #5.

Revision history for this message
Andreas Enström (anen) wrote :

@Gunnar: Indeed, thank you for the tip. From now on whenever I go to help.ubuntu.com and realize that I can't read the text because of the bad grammar mixed with English I go to Menu -> Settings -> (scroll to the bottom) -> Show advanced settings... -> (scroll down to Languages) -> Language and input settings... -> Drag and drop 'English' to the top. Then when I'm done I set it back to my preferred language by: Menu -> Settings -> (scroll to the bottom) -> Show advanced settings... -> (scroll down to Languages) -> Language and input settings... -> Drag and drop 'My preferred language' to the top. Rather tedious compared to say having a discrete drop-down menu at the bottom of the site allowing you to choose a language that is remembered until I clear browser data. Alas, it's not forced in the sense that it can't be changed, if your browser allows you to go change settings 7 actions away. But it's not very user friendly.

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

@Andreas: Indeed, it's not perfect. Btw, if you have noticed bad translations, it would be helpful if you could file a bug report about it.

https://bugs.launchpad.net/ubuntu-translations/+filebug

Revision history for this message
Chris Perry (clissold345) wrote :

Could we add a note (or notes) then? I think that would help (multi-lingual) users. Is help.ubuntu.com (the page) editable?

I suggest moving note 4 up to be note 1 and changing it so that it looks like this:

"The HTML links above are available in many different languages. They will be displayed in the preferred language specified by your browser. If the preferred language is not available they will be displayed in English. The Server Guide PDF and the Installation Guide are available solely in English."

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

On 2016-11-20 23:03, Chris Perry wrote:
> I suggest moving note 4 up to be note 1 and changing it so that it
> looks like this:
>
> "The HTML links above are available in many different languages.
> They will be displayed in the preferred language specified by your
> browser. If the preferred language is not available they will be
> displayed in English. The Server Guide PDF and the Installation Guide
> are available solely in English."

I like that. Doug?

Revision history for this message
Doug Smythies (dsmythies) wrote :

> Is help.ubuntu.com (the page) editable?

That page is one of only a few hand written html files that "glue" the entire help.ubuntu.com together. By far, most of the files actually have their master code in another project (help docs or serverguide or installation guide or cloud stuff). Yes, it is editable via the help.ubuntu.com master code in the bzr branch ( https://code.launchpad.net/~ubuntu-core-doc/help.ubuntu.com/help.ubuntu.com ).

Yes, we could add a more detailed note, as Chris suggested, keeping in mind that we were attempting to keep extra stuff on that page to a minimum and also trying to keep the page from being too long on a lower resolution display (which it already got longer when we added the Canonical Cloud stuff).

Peter might want to chime in.

Revision history for this message
Doug Smythies (dsmythies) wrote :

The attached details Chris' proposed change to the text of the index.html file.
I'll e-mail Chris, Gunnar, and Peter a link to my web site copy of help.ubuntu.com with this proposed change.

Revision history for this message
Peter Matulis (petermatulis) wrote :

Doug, I responded to you by email. I guess I should have just put it here.

Revision history for this message
Chris Perry (clissold345) wrote :

Just recording where we are with this bug: Doug is doing the change to the note (as described above - with additional discussion via email on 22nd Nov 2016). Gunnar is considering whether "to add a note to the pages" (see comment 7 above).

Revision history for this message
JI Xiang (szjx) wrote :

This makes little sense. I can't think of practically any other modern website that doesn't support switching UI language.

Revision history for this message
Peter Matulis (petermatulis) wrote :

@JI

That's true. I agree it goes counter to modern standards. Maybe "standards" is an exaggeration but at least modern "expectations".

I think the current design is due to how translations work. In principle, these docs can be presented in any human language. Having a selector for dozens of languages would also be odd. If we only consider languages that have received significant translations (say 75% translated) then it should feasible, but such a solution would require monitoring and manual adjustments. See
https://translations.launchpad.net/serverguide and sort by Status (green is translated).

Another solution would be to always show it in English and have a button for "show in your browser's default language".

The simplest would be to ditch translations and just have it in English.

Revision history for this message
Florian Prud'homme (luckyrantanplan) wrote :

This bug bothered me so much that I registered myself to Ubuntu One to be able to post a comment about it.

I suggest you to add at the bottom of the page a link like :

"This website is available in many languages
Switch Language"

like for the The Gnome project. ( or every web site with technical documentation)

have a nice and keep the good work

Florian

Revision history for this message
Hans Deragon (deragon) wrote :

A quick simple stop-gap solution would be to have the language code within the URL. This way, users could manually force the language of their choice by changing the URL.

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

@Hans: You can force any localized page to show up by including the language code in the URL, for instance:

https://help.ubuntu.com/stable/ubuntu-help/index.html.de

The problem is that the addresses in all the links end with just .html.

At https://help.gnome.org/users/gnome-help/stable/ I notice that the addresses of the internal links end with .html.<lang>. If we can figure out how to do that, I think it would be an important step forward.

Revision history for this message
Anders (anders515) wrote :

Is it possible to make the localization always be at the end of the url? Would be really helpfull as a workaround.
https://help.ubuntu.com/stable/ubuntu-help/index.html.en

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

On 2018-02-13 11:50, Anders wrote:
> Is it possible to make the localization always be at the end of the
> url? Would be really helpfull as a workaround.

Yeah, I think so too. We are using GNOME tools to create the pages, and I just asked for help there:

https://mail.gnome.org/archives/gnome-doc-list/2018-February/msg00017.html

Revision history for this message
Doug Smythies (dsmythies) wrote :

@Gunnar : It seems you didn't get a reply yet on that gnome e-mail list.

I spent some time trying to figure out how to do it, but got nowhere. I even looked at the source code for yelp-build and some others, but still got nowhere.

It is a good idea and worth pursuing.

Changed in ubuntu-docs (Ubuntu):
status: Confirmed → Fix Committed
Changed in serverguide:
status: Confirmed → In Progress
assignee: nobody → Doug Smythies (dsmythies)
Changed in help.ubuntu.com:
status: Confirmed → In Progress
Revision history for this message
Doug Smythies (dsmythies) wrote :

Gunnar and I have been working on a solution to this issue, based on Aders and Hans comments above and what gnome help does, and think we have something very practical and useful. It is now available for testing on help.ubuntu.com, in the development area, and only for the desktop help docs, so far. So here:

https://help.ubuntu.com/dev/ubuntu-help/index.html

Please see the footer at the bottom of any page. Try it and report back here.

Revision history for this message
Andreas Enström (anen) wrote :

So far it seems to be working like a charm!
Browsing around, following links, testing to change language on multiple pages. Nice work!
Looks like the search function redirects away from the dev area, so I couldn't test that.

Tested on:
Ubuntu 16.04:
- Chromium Version 64.0.3282.167
- Firefox 58.0.2 (64-bit)

Android 7.0:
- Chrome Version 64.0.3282.137

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

@Andreas: Thanks for testing! Sounds promising.

The search feature is using Google, so those search results depend on what's indexed there. Currently it's basically URLs of this format:

https://help.ubuntu.com/stable/ubuntu-help/<page>.html

but after 18.04 has been released, Google (as well as other search engines) will probably start indexing URLs like:

https://help.ubuntu.com/stable/ubuntu-help/<page>.html.en

In other words: If you are navigating the site in some other language than English, you'll probably need to switch to your own language again if you pick a page via the search feature.

Changed in serverguide:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-docs - 18.04.1

---------------
ubuntu-docs (18.04.1) bionic; urgency=medium

  * Bump version to 18.04 / bionic.
  * html/ubuntu.xsl:
    - URL updates
    - Change platform unity -> ubuntu
  * net-install-flash.page:
    - Mention the planned EOL of Adobe Flashplugin.
    - ubuntu-restricted-addons no longer pulls flashplugin-installer.
  * html/Makefile, html/ubuntu.xsl:
    - Append ".<lang>" to internal link URLs (LP: #1532537).
  * No Ubuntu One authentication when installing/removing snaps.
  * addremove-sources.page:
    - Skype no longer in Canonical Partner.
  * net-chat-skype.page:
    - New URL etc.
  * net-chat-video.page:
    - Simplified by dropping para about Empathy (which has own page).
  * numeric-keypad.page:
    - Use apt: link - Software doesn't see numlockx.
    - Suggest that an attempt without step 2 is tried first.
    - Drop instruction for login screen (it was based on LightDM).
  * power-hibernate.page:
    - Dropped.
  * startup-applications.page:
    - Activities overview instead of Dash.
  * video-dvd-restricted.page:
    - Replace broken link with link directly to fluendo.com.
    - Drop reference to "Dash".
  * html/fix-urls.sed:
    - Don't convert apt: links to links to the disused apps.ubuntu.com.
  * keyboard-layouts.page:
    - Dropped - Ubuntu addition applied upstream, so the page will be
      installed through gnome-user-docs instead.
  * Updated ubuntu-help.pot.
  * New language: wo

  [ Doug Smythies ]
  * html/ubuntu.xsl:
    - Footer changes to explain and allow setting language
      (LP: #1532537).

 -- Gunnar Hjalmarsson <email address hidden> Tue, 20 Mar 2018 04:43:00 +0100

Changed in ubuntu-docs (Ubuntu):
status: Fix Committed → Fix Released
Changed in help.ubuntu.com:
status: In Progress → Fix Committed
Changed in help.ubuntu.com:
status: Fix Committed → Fix Released
Changed in serverguide:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.