Bug 1242571

Summary: Backport the list_scripts() functionality
Product: Red Hat Enterprise Linux 7 Reporter: Martin Kolman <mkolman>
Component: langtableAssignee: Mike FABIAN <mfabian>
Status: CLOSED ERRATA QA Contact: QE Internationalization Bugs <qe-i18n-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.2CC: eng-i18n-bugs, eng-l10n-bugs, kkrothap, mfabian, mkolman, qe-i18n-bugs, smaitra
Target Milestone: rcKeywords: i18n, Translation
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: langtable-0.0.31-3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 04:12:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1182562    
Attachments:
Description Flags
Add-language-endonym-for-tl.patch
none
Some-translation-fixes-from-CLDR.patch
none
Translation-fix-from-Wikipedia.patch
none
Translation-fix-for-Tagalog-Filipino.patch
none
Translation-fix-from-CLDR.patch
none
Add-sphinx-markup-to-public-functions.patch
none
Add-a-function-list_scripts-to-list-scripts-used-for.patch none

Description Martin Kolman 2015-07-13 15:39:02 UTC
Description of problem:
The Anaconda and Initial Setup text user interface (TUI) needs to be able to detect if the currently selected language can be correctly rendered with the Linux console. 

Upstream langtable (version >=0.0.34) has the list_scripts() functionality which can be used to perform this by the TUI.

Version-Release number of selected component (if applicable):
0.0.34

How reproducible:
always

Additional info:
Idea about using the list_scripts() functionality by Anaconda and Initial Setup TUI is to list scripts for the currently selected language and only use it if it is one of: 'Latn', 'Cyrl' or 'Grek'. If it is not one of those, the TUI will default to English to prevent displaying unreadable characters to the user.

Comment 4 Mike FABIAN 2015-07-14 12:23:13 UTC
Created attachment 1051811 [details]
Add-language-endonym-for-tl.patch

Comment 5 Mike FABIAN 2015-07-14 12:24:18 UTC
Created attachment 1051812 [details]
Some-translation-fixes-from-CLDR.patch

Comment 6 Mike FABIAN 2015-07-14 12:24:46 UTC
Created attachment 1051813 [details]
Translation-fix-from-Wikipedia.patch

Comment 7 Mike FABIAN 2015-07-14 12:25:28 UTC
Created attachment 1051814 [details]
Translation-fix-for-Tagalog-Filipino.patch

Comment 8 Mike FABIAN 2015-07-14 12:26:35 UTC
Created attachment 1051817 [details]
Translation-fix-from-CLDR.patch

Comment 9 Mike FABIAN 2015-07-14 12:27:17 UTC
Created attachment 1051818 [details]
Add-sphinx-markup-to-public-functions.patch

Comment 10 Mike FABIAN 2015-07-14 12:27:58 UTC
Created attachment 1051819 [details]
Add-a-function-list_scripts-to-list-scripts-used-for.patch

Comment 12 Mike FABIAN 2015-07-14 14:00:16 UTC
New build:

http://brewweb.devel.redhat.com/brew/taskinfo?taskID=9513788

(The build in comment#3 had an unused patch in the source rpm, apart
from that there is no change).

Comment 13 Mike FABIAN 2015-07-16 14:49:40 UTC
Pushed to rhel-7.2 branch.

Build:  http://brewweb.devel.redhat.com/brew/taskinfo?taskID=9528793

Comment 14 Mike FABIAN 2015-07-16 15:21:10 UTC
Build from comment#13 added to advisory https://errata.devel.redhat.com/advisory/20412

Comment 24 errata-xmlrpc 2015-11-19 04:12:32 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2191.html