| Summary: | IE9-Unable to get French/Japanese language on conductor | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] CloudForms Cloud Engine | Reporter: | Rehana <redakkan> | ||||||
| Component: | aeolus-conductor | Assignee: | Angus Thomas <athomas> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | wes hayutin <whayutin> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 1.0.0 | CC: | akarol, dajohnso, deltacloud-maint, jprovazn, matt.wagner, ssachdev | ||||||
| Target Milestone: | rc | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2012-05-07 17:55:06 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: | |||||||
| Attachments: |
|
||||||||
Created attachment 576993 [details]
ss2
It seems there is a bug in processing language codes in conductor. IE9 sends languages in this format: ["ja-JP", "fr-FR;q=0.5"] And conductor doesn't removes '-JP' part from language string correctly. So then it tries to find locale file 'ja-JP' instead of 'ja'. Though looks like an easy fix after brief look. (In reply to comment #2) > It seems there is a bug in processing language codes in conductor. IE9 sends > languages in this format: > ["ja-JP", "fr-FR;q=0.5"] > > And conductor doesn't removes '-JP' part from language string correctly. So > then it tries to find locale file 'ja-JP' instead of 'ja'. Though looks like an > easy fix after brief look. FYI.. I'm 99% sure we were able to get the translations working on an upgraded build of IE9. However if there is a required fix, then lets try it I got more clear steps now.Hope this will help to find out the cause. The reason for my observation was i had a Firefox session having conductor on English. So when ever i change the language of IE9 and access the same host it used to always come in English. So i did a test with below steps: 1. Access conductor with English from FF 2. Now From IE9 change the language to French/Japanese and access the same host (Result: It session opens only in English) 3. Now change the FF language setting to French/Japanese and just access the conductor 4. Try refreshing the page of IE9 (Result: The conductor loads in French/Japanese as per the FF setting) Actual result: So the IE9 settings is always getting loaded with language used by last request from FF. Expected result: I feel the language setting on conductor(IE9) should only depends up on the language setting of the browser(IE9) and not any other browsers(like Firefox) Addition info: rpm -qa | grep aeolus aeolus-conductor-0.8.7-1.el6.noarch aeolus-configure-2.5.2-1.el6.noarch aeolus-conductor-daemons-0.8.7-1.el6.noarch rubygem-aeolus-image-0.3.0-12.el6.noarch rubygem-aeolus-cli-0.3.1-1.el6.noarch aeolus-all-0.8.7-1.el6.noarch aeolus-conductor-doc-0.8.7-1.el6.noarch interesting.. Angus will want to read this. This may be fixed by a patch matty_dubs has submitted but is not in beta6 It looks like the patch for this didn't make its way onto 1.0-product. The commit appears to have been 7dc0c497d9c6d8ceef910f120af2ed47df2a64b3 on master. Moving to on_qa for re_testing. It sounds like a issue with the way IE is configured on that particular box. There is some documentation around configuring IE for proper rendering. So I retested this and it appears that ja and fr work great in IE8 & IE9 but if you try to use ja-JP or fr-FR, language translation does not happen. *** This bug has been marked as a duplicate of bug 801825 *** |
Created attachment 576992 [details] ss1 Description of problem: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1.Changed the language setting of ie9 from tools--> internet options -->general -->appearance -->Languages --> selected (fr-FR) for French (ja-JP) for Japanese -->click ok 2.Now access the conductor Actual results: Observed that the conductor came up only in English when selected French/Japanese and also observed that all the other websites like google came up in selected languages. PFA:ss1.png,ss2.png Expected results: It should load conductor in selected language Additional info: rpm -qa| grep aeolus aeolus-conductor-0.8.7-1.el6.noarch aeolus-configure-2.5.2-1.el6.noarch aeolus-conductor-daemons-0.8.7-1.el6.noarch rubygem-aeolus-image-0.3.0-12.el6.noarch rubygem-aeolus-cli-0.3.1-1.el6.noarch aeolus-all-0.8.7-1.el6.noarch aeolus-conductor-doc-0.8.7-1.el6.noarch