Steps to reproduce:
1. Go Format / Character / Font in Writer, or Format / Cells / Font in Calc.
2. Open the popup below Languages.
3. The popup shows literally hundreds of languages, such as Swaheli or Mbochi.
4. Whenever I want to find my language, I have to go through pages of exotic languages. Even typing does not help since "English (US)" is at the end of English languages, for example.
Please make an option in preferences (or right next to the Language popup) so that only languages with installed proofing tools are displayed. (The names with the small ABC tick mark next to them).
Created attachment 62138 [details]
Removes not-installed languages from font-dialog.
This page removes the languages that are not installed from the language-lists in de fonts-dialog. It will always display the selected language in the languages-tab of the options-dialog.
setting the status
Yogurt, are you sure that the language choice is used only by proofreading tools? I am fairly certain there are lots of locale-dependent properties that the language choice affects, not just proofreading tools. Also, it would be a bit judgemental to start classifying languages arbitrarily into "exotic" and "non-exotic" ones, don't you think? Going down that path soon leads us into nationalistic debates, which are the most ugly kind.
Sure, the dialog in question could use a better UI; for instance with a couple of the most recently selected languages always sorted first in the list, or something.
Rob, when you "not installed", what do you mean?
Why is this marked as resolved even if the patch has not been applied?
I'm sorry for setting the status to fixed. I'll wait next time for the patch to be accepted.
The patch removes the languages that don't have a dictionary installed from the list (except the one selected as default language in the options-tab), as selecting them has the same effect as selecting "[none]".
I agree with Yogurt that the list is too large, so you need to search the list for the language you want.
Removing languages from the list just because there is no spell checker installed for them isn't a good idea. In Writer the language is not only used for spell-checking, if locale data is available for the locale it also affects the display of field values such as dates and numbers if no specific locale was chosen for the field formatting. Furthermore, one may of course want to write in a language (and assign it such) if the tools are not installed.
One possible solution might be to use a tree list instead of the flat list where the root has only one entry per language, and the next level the differentiation between locales.
Another possible and maybe better solution could be to remember the usage frequency of languages and sort the most used to the top of the list.
Just some ideas.. maybe involving the UX list would give some input on this?
Displaying the languages in this order would be helpful:
- the languages with locale interface installed,
- the languages used in the document,
- the languages with installed dictionaries,
- everything else.
I think the languages used in the document should be first in a list. After all, personally I practically hate using software localised to my native language, but still I might very well be writing documents in it. Maybe also languages recently used by the user in any document, not just the current one, should have priority... The bikeshedding possibilities are endless. So probably best to simply ask, what does Word do?
Created attachment 62295 [details]
How to select a language in Word 2010
Here is how Word offer to select a language.
The list is huge. The window’s size cannot be changed.
My interface is in English. I assume it offers me to select the French language because my Windows is a French version.
(In reply to comment #8)
> Here is how Word offer to select a language.
> The list is huge. The window’s size cannot be changed.
Are French and English still in the list below? So that that list contains all languages on alphabet also?
(In reply to comment #9)
> Are French and English still in the list below? So that that list contains all
> languages on alphabet also?
For me the upper part of the language list in Word 2010 is much larger, as it includes all the keyboard layouts I have activated, and I have a fair bunch of those, to be able to input different scripts to test various stuff (even if I don't understand the languages in question;). In addition it seems to include other languages that are present in the document.
Comment on attachment 62138 [details]
Removes not-installed languages from font-dialog.
the comments indicate that this patch is not to be integrated,
setting the "obsolete" flag so the bug does not turn up in bugzilla queries.
This is an important issue. My background is the following: I develop proofing tools for morphologically complex languages. What I thus want is that LO is able to handle any language with a speaker community active enough to cooperate with me or (needless to say) with anyone else with an infrastructure for making LO proofing tools. Some of these attempts will result in good and welcome proofing tools, others will not, and it is hard to tell on beforehand. I thus suggest LO operats with __two__ language lists:
1. a short list of the most common languages (approximately today's list, or perhaps shortened to 100 languages or even fewer, e.g. to the ones coming with preinstalled tools)
2. a backlist containing the entire ISO 639-3. (https://en.wikipedia.org/wiki/ISO_639-3). Users (and developers) interested in other languages than the short list will find their language in the long list. Getting from the short to the long list should be easy (e.g. >More languages at the beginning and end of the shortlist, or whatever)
Someone on this thread asked what MS Word does this. How much I hate to admit it, rumors have it that W8 is actually better than us in this respect, in having a solution along the lines sketched here. If the rumors are true, this is a paradox, since adding proofing tools to the closed MS requires the approval of MS or some of its subcontractors, whereas we being __open__ should capitalise on that, and have an open list of languages for proofing tool additions.
This seems to at least be confirmed - moving to NEW as it's not assigned to anyone and was never really fixed.
I want to bump this error report to "active".
I switch between Swedish, English and a few other languages every day in my writing. It's a major hassle for me that the language list in the Character dialogue is so long. I want to be able to decide which languages will be visible on this dropdown list.
This contains no implicit judgement of which languages are "exotic". I just have these two languages on the list that I switch between all the time, and I don't want to see the others because it's a time-waster and a hassle. It would be the same if my two languages were Occitan and Tok Pisin.
I switch regularly between German, French, English and sometimes Persian when I am using Libreoffice. I am astonished that this bug is open since 2012 and hasn't been fixed yet. To users who only use one language this may look like a nice to have enhancement. But there are a lot of people who have to switch from one language to another several times per day. And for all of us it is really annoying how libreoffice handled the language drop-down so far.
The languages installed on the computer must be shown on the top. This covers the need of at least 99.9% of the users. For the few that need all possible languages shown, the not installed languages (or a list with all languages if that is easier to program) can be shown below in the drop-down list.
I really hope that finally this bug gets assigned to someone so that it will be fixed very soon. Thanks.
There is another use case that I encounter regularly that shows how annoying today's language drop-down list is. I often start with a Swiss German document that I have translate into Swiss French. As I am using French as main language on my computer the languages in the list are in French (as you can see in the steps below). Here are the step I have to do after I selected all the texts and went to the font dialog:
1. I click on the arrow on the language field and in the drop-down list "Allemand (Suisse)" (Swiss German) is highlighted
2. I type "F" for "Français" (French) in order to move down quickly in the drop-down list
3. I land on "Féroien" (Faroese)
4. I have to scroll down to "Français (Suisse)"
5. I can select "Français (Suisse)" (Swiss French)
If my installed languages were on top I wouldn't need to go through step 2 to 4. I would see all my language at once on the list and would just have to select the new language. Today's list is not user-friendly at all. It annoys me every time. I don't understand why it hasn't been fixed a long time ago.
For me this is a really annoying bug that needs to be fixed as soon as possible.
Ed: Please don't touch tags or other fields that developers or QA people have set.
I didn't know that I should not change the tags. I am sorry for this.
I do not agree that this is just an enhancement. For EVERYONE who uses the language field today's drop-down list is very annoying, a real bug. For example there are 22 different kinds of English. I am sure that nobody wants to see all of them. It just means that you need to do a lot of scrolling which is irritating. It stops the flow and the productivity.
I guess that changing the drop-down list is not so much work and it would make a lot of users in a multilingual environment (in Canada, Switzerland, Belgium, India, etc. and in multinational companies) really more satisfied and more productive. I guess you just need to add a filter which chooses the proper languages for the drop-down list. But I may be wrong about this because I am not a developer.
This is why I like you to change the importance to normal again.
Elaborating on comment 6: Yes, to move _favorites_ on top of the list (we should do this for all lengthy lists). But it must not look like a complex algorithm. So while the installed localization is obvious we should focus first on the "most relevant languages" and sneak some more into this list if the document or dictionary is something else.
The top 10 access to libreoffice.org this year by browser language are: English, Portuguese, German, French, Spanish, Italian, Russian, Polish, Japanese, Chinese, which covers >95% (followed by Dutch, Czech, Turkish, Korean, Swedish, Finnish, Hungarian, Greek, Thai, Danish, Indonesian).
Not to forget, the currently selected language should also be on top.
A few comments on this issue :
1. Why do we even choose a "language" in the Font pane? Language and font are mostly orthogonal (see bug 154793) and language is not a formatting feature, it's an aspect of content (see bug 151290).
2. The items in the language box are not actually languages - and we have multiple locales for the same language, e.g. for English and for Arabic (see bug 154794) - so there's a lot of clutter.
3. To the extent that a language choice does correspond to the font - why do we see languages all of whose customary scripts are not covered by the chosen font (family)?
If we addressed (2.) and (3.) that would already solve half the problem.
4. No comment requests a different proper sorting of the languages, but rather - prepending short-lists to the complete list. We should probably tweak the title accordingly.