Bug 57629 - Wrong language assigned to Canada
Summary: Wrong language assigned to Canada
Status: RESOLVED FIXED
Alias: None
Product: kvoctrain
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Ewald Arnold
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-24 06:07 UTC by Camille Blais
Modified: 2004-02-01 17:02 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Camille Blais 2003-04-24 06:07:19 UTC
Version:           0.8.1 (using KDE 3.1.1)
Compiler:          gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
OS:          Linux (i686) release 2.4.18-3bigmem

In panel "General Options" on tab Language when I click "Add Language Data From KDE Database" section "America, North" is erroneous. The first red and white flag is good but the country shoul be Canada not Catalan and the languages associated with it should be "English US", "English GB" and "French" not Catalan. 

For reference look to KDE "Control Center" section "Regional & Accessibility" sub-section "Country/Region & Language". On tab Local, select country "America, North" select the same red and white flag, it is set correctly to Canada and verify languages which are also set correctly.

Comming back to KVocTrain in the same panel and tab, the button "Add Language Data From ISO639-1" has to be corrected also, for the letter C change from Catalan to Canada.

Don't forget to update the "Language Code" and "Alternative Code" as necessary.

For your information, Catalan is a language spoken in Catalonia in Spain. Refer to "Control Center" again, and add this language to Spain.
Comment 1 aleksr_si 2003-04-27 09:18:47 UTC
A similar issue goes for Slovenia: 
Coming to it though the very same dialogues as above, with, naturally, replacing 
"America, North" with "Europe, Central", you can see the Slovenian flag next to the 
term "Sinhalese". The language code, si, is correct for Sinhalese -- however, mind 
you, Sinhalese is hardly spoken in Central Europe; it is spoken in Sri Lanka, in the 
south-east of Asia. The language spoken in Slovenia is called Slovenian or Slovene, 
depending on your personal preference. 
 
Basically, the flag associated with Sinhalese should be associated with Slovenian (sl, 
slv), and Slovenian should be put into the Europe, Central list, with Sinhalese moved 
to Asia. The association of the flag of Slovenia with the Slovenian language should 
also be done for the ISO list. 
Comment 2 Richard Lärkäng 2004-02-01 17:02:39 UTC
Subject: kdeedu/kvoctrain/kvoctrain/option-dialogs

CVS commit by larkang: 

Fix issues with language settings:
* Don't confuse language-codes and country-codes so for example Canada won't get named Catalan etc
* Make sure the flag used for languages is a flag from a country where the language is spoken, not a flag
  which has the same countrycode as the language, resulting in for example Swedish getting the flag of
  El Salvador
* When clicking on a country, add all languages spoken there, not just one

CCMAIL: 57629-done@bugs.kde.org


  M +138 -113  LangOptPage.cpp   1.24
  M +22 -16    LangOptPage.h   1.10
  M +18 -15    LangOptPageForm.ui   1.12