GNOME Bugzilla – Bug 695939
Use common_name if present when parsing iso-codes files for language names
Last modified: 2018-09-21 16:35:49 UTC
Created attachment 239006 [details] [review] use common_name gdm-languages.c contains code for parsing XML files provided by the iso-codes package. As regards country names, the string in the 'common_name' field is used at first hand. Last autumn a 'common_name' field was introduced also in the files for language names, so gdm-languages.c should be modified accordingly. Currently this change means that the language code bn will give you "Bangla" instead of "Bengali".
When you submit patches, could you rebase them against master instead of 3.6?
I would have done so in this case, if panels/common/gdm-languages.c had been present in 3.8. It's not, so I left it to someone who is familiar with the current code.
the language handling code has moved to gnome-desktop
Thanks for letting us know. gnome-languages.c and gdm-languages.c are alike, and the attached patch applies to both files.
Reassigning to gnome-desktop.
Review of attachment 239006 [details] [review]: Can you please rebase this patch and attach a version that's git-formatted, along with an explanation of why you're making this change?
Created attachment 363742 [details] [review] use common_name 2
Same explanation as 4.5 years ago: "Currently this change means that the language code bn will give you "Bangla" instead of "Bengali"."
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-desktop/issues/49.