Bug 883949 - chinese language locale mismatch in config/locales/zh-CN.yml
chinese language locale mismatch in config/locales/zh-CN.yml
Product: Subscription Asset Manager
Classification: Red Hat
Component: katello (Show other bugs)
Unspecified Unspecified
unspecified Severity high
: rc
: ---
Assigned To: Tom McKay
: Triaged
Depends On:
Blocks: sam13-tracker
  Show dependency treegraph
Reported: 2012-12-05 11:02 EST by Tom McKay
Modified: 2013-10-01 06:54 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-10-01 06:54:17 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Tom McKay 2012-12-05 11:02:48 EST
Description of problem:

An update to the i18n gems causes an error when formatting time

translation missing: zh-CN.time.formats.default (I18n::MissingTranslationData)
Comment 1 Tom McKay 2012-12-05 13:20:20 EST
  Branch: refs/heads/master
  Home:   https://github.com/Katello/katello
  Commit: 3e3d9209400f0350043255d678e4975e8613dfbe
  Author: Tom McKay <thomasmckay@redhat.com>
  Date:   2012-12-05 (Wed, 05 Dec 2012)
Comment 2 Tom McKay 2012-12-05 13:20:47 EST
  Branch: refs/heads/master
  Home:   https://github.com/Katello/katello
  Commit: b446bac9887c42bee22e1166c8a59d26beee1a0c
  Author: Tom McKay <thomasmckay@redhat.com>
  Date:   2012-12-05 (Wed, 05 Dec 2012)

Portuguese too
Comment 3 sthirugn@redhat.com 2013-01-08 16:41:18 EST
Retested in the below version.  There are no UI errors or errors in the logs.  But I see that the .yml changes shown in the recent two comments are not reflecting yet.

Here, look at the line 
It is supposed to have changed to zh-CN as per the comments in this Bug. But it is not.
Comment 4 sthirugn@redhat.com 2013-01-08 16:49:31 EST
Rested in version: 
* candlepin-0.7.23-1.el6_3.noarch
* candlepin-tomcat6-0.7.23-1.el6_3.noarch
* elasticsearch-0.19.9-5.el6_3.noarch
* katello-candlepin-cert-key-pair-1.0-1.noarch
* katello-certs-tools-1.2.1-1h.el6_3.noarch
* katello-cli-1.2.1-11h.el6_3.noarch
* katello-cli-common-1.2.1-11h.el6_3.noarch
* katello-common-1.2.1-12h.el6_3.noarch
* katello-configure-1.2.3-1h.el6_3.noarch
* katello-glue-candlepin-1.2.1-12h.el6_3.noarc
* katello-headpin-1.2.1-12h.el6_3.noarch
* katello-headpin-all-1.2.1-12h.el6_3.noarch
* katello-selinux-1.2.1-2h.el6_3.noarch
* thumbslug-0.0.28-1.el6_3.noarch
* thumbslug-selinux-0.0.28-1.el6_3.noarch
Comment 6 Bryan Kearney 2013-08-28 12:57:40 EDT
1.4.3-11-sat has the latest strings, so these bugs shuld be fixed.
Comment 7 sthirugn@redhat.com 2013-08-30 00:55:58 EDT
Retested and failed. See below - pt-PT.yml file is missing in install.

commit - https://github.com/Katello/katello/commit/3e3d9209400f0350043255d678e4975e8613dfbe and the following files look good

Verified - src/config/locales/zh-CN.yml
Verified - src/config/locales/zh-TW.yml

commit - https://github.com/Katello/katello/commit/b446bac9887c42bee22e1166c8a59d26beee1a0c

Verfied - src/config/locales/pt-BR.yml
Failed  - src/config/locales/pt-PT.yml  (File not found)

Version Tested:
* candlepin-0.8.24-1.el6sam.noarch
* candlepin-scl-1-5.el6_4.noarch
* candlepin-scl-quartz-2.1.5-5.el6_4.noarch
* candlepin-scl-rhino-1.7R3-1.el6_4.noarch
* candlepin-scl-runtime-1-5.el6_4.noarch
* candlepin-selinux-0.8.24-1.el6sam.noarch
* candlepin-tomcat6-0.8.24-1.el6sam.noarch
* elasticsearch-0.19.9-8.el6sat.noarch
* katello-candlepin-cert-key-pair-1.0-1.noarch
* katello-certs-tools-1.4.2-2.el6sat.noarch
* katello-cli-1.4.3-9.el6sat.noarch
* katello-cli-common-1.4.3-9.el6sat.noarch
* katello-common-1.4.3-11.el6sam_splice.noarch
* katello-configure-1.4.4-3.el6sat.noarch
* katello-glue-candlepin-1.4.3-11.el6sam_splice.noarch
* katello-glue-elasticsearch-1.4.3-11.el6sam_splice.noarch
* katello-headpin-1.4.3-11.el6sam_splice.noarch
* katello-headpin-all-1.4.3-11.el6sam_splice.noarch
* katello-selinux-1.4.4-2.el6sat.noarch
* thumbslug-0.0.32-1.el6sam.noarch
* thumbslug-selinux-0.0.32-1.el6sam.noarch
Comment 8 sthirugn@redhat.com 2013-08-30 14:15:27 EDT
As per Bryan Kearney, the issue I noted in Comment 7 is okay.  Marking the bug VERIFIED.
Comment 10 errata-xmlrpc 2013-10-01 06:54:17 EDT
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.


Note You need to log in before you can comment on or make changes to this bug.