Simplified Chinese cannot be found in the language list in Horizon
Hello I18n team. I am currently checking/reviewing the latest translations on the Horizon UI with another member and we found that Simplified Chinese is not in the list on the user setting page. I am using a devstack from master branch, only deployed a couple of days ago. I wonder if other people see the same issue. The list is looking like the following. Many thanks in advance, Yuko
I confirmed this. This is caused by the combination or - the auto-generation logic of the language list introduced in Pike, and - the change in Django 1.9 which droped zh-CN and zh-TW in favor of zh-hans and zh-hant (though Django provides a fallback logic) I am exploring a way to fix it, but until then the workaround is to set LOCALE_PATHS = [] in local_settings.py (In case of devstack, it is /opt/stack/horizon/openstack_dashboard/local/local_settings.py) Thanks, Akihiro 2017-08-11 13:30 GMT+09:00 Yuko Katabami <yukokatabami@gmail.com>:
Hello I18n team.
I am currently checking/reviewing the latest translations on the Horizon UI with another member and we found that Simplified Chinese is not in the list on the user setting page.
I am using a devstack from master branch, only deployed a couple of days ago.
I wonder if other people see the same issue.
The list is looking like the following.
Many thanks in advance,
Yuko
_______________________________________________ OpenStack-I18n mailing list OpenStack-I18n@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n
Hi Akihiro san, Thank you very much for quickly identifying the cause and providing a work around for us. After editing local_settings.py and running horizon-reload.sh on my devstack, I can see Simplified Chinese in the language dropdown menu along with many other langs, however when I select Simplified Chinese, the UI remains in English. This must be caused by the second issue you commented in https://bugs.launchpad.net/horizon/+bug/1710131. We will wait for that to be fixed then. Kind regards, Yuko On 11 August 2017 at 21:11, Akihiro Motoki <amotoki@gmail.com> wrote:
I confirmed this. This is caused by the combination or - the auto-generation logic of the language list introduced in Pike, and - the change in Django 1.9 which droped zh-CN and zh-TW in favor of zh-hans and zh-hant (though Django provides a fallback logic)
I am exploring a way to fix it, but until then the workaround is to set
LOCALE_PATHS = []
in local_settings.py (In case of devstack, it is /opt/stack/horizon/openstack_dashboard/local/local_settings.py)
Thanks, Akihiro
2017-08-11 13:30 GMT+09:00 Yuko Katabami <yukokatabami@gmail.com>:
Hello I18n team.
I am currently checking/reviewing the latest translations on the Horizon UI with another member and we found that Simplified Chinese is not in the list on the user setting page.
I am using a devstack from master branch, only deployed a couple of days ago.
I wonder if other people see the same issue.
The list is looking like the following.
Many thanks in advance,
Yuko
_______________________________________________ OpenStack-I18n mailing list OpenStack-I18n@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n
Hello Yuko, Would you double check whether current DevStack execution for translation checking purpose shows Chinese translations well or not? I think it works well since https://bugs.launchpad.net/horizon/+bug/1710131 status was changed to fix released, but when I have checked using translation checksite from Frank, I still cannot see Chinese characters. The translation checksite deployment from Frank uses Ansible, and Horizon sources may not be up-to-date, but I unfortunately do not have enough time now to check Chinese translations. With many thanks, /Ian Yuko Katabami wrote on 8/12/2017 6:46 AM:
Hi Akihiro san,
Thank you very much for quickly identifying the cause and providing a work around for us.
After editing local_settings.py and running horizon-reload.sh on my devstack, I can see Simplified Chinese in the language dropdown menu along with many other langs, however when I select Simplified Chinese, the UI remains in English.
This must be caused by the second issue you commented in https://bugs.launchpad.net/horizon/+bug/1710131. We will wait for that to be fixed then.
Kind regards,
Yuko
On 11 August 2017 at 21:11, Akihiro Motoki <amotoki@gmail.com <mailto:amotoki@gmail.com>> wrote:
I confirmed this. This is caused by the combination or - the auto-generation logic of the language list introduced in Pike, and - the change in Django 1.9 which droped zh-CN and zh-TW in favor of zh-hans and zh-hant (though Django provides a fallback logic)
I am exploring a way to fix it, but until then the workaround is to set
LOCALE_PATHS = []
in local_settings.py (In case of devstack, it is /opt/stack/horizon/openstack_dashboard/local/local_settings.py)
Thanks, Akihiro
2017-08-11 13:30 GMT+09:00 Yuko Katabami <yukokatabami@gmail.com <mailto:yukokatabami@gmail.com>>:
Hello I18n team.
I am currently checking/reviewing the latest translations on the Horizon UI with another member and we found that Simplified Chinese is not in the list on the user setting page.
I am using a devstack from master branch, only deployed a couple of days ago.
I wonder if other people see the same issue.
The list is looking like the following.
Many thanks in advance,
Yuko
_______________________________________________ OpenStack-I18n mailing list OpenStack-I18n@lists.openstack.org <mailto:OpenStack-I18n@lists.openstack.org> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n>
_______________________________________________ OpenStack-I18n mailing list OpenStack-I18n@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n
Hi Ian, My environment is from master branch. I have been updating it daily but I still cannot switch the language to either Simplified or Traditional Chinese. These are in the language list though. To test with Pike, should I edit the local.conf to change the branch, running the unstack.sh (or clean.sh?), then redeploy? Kind regards, Yuko On 17 August 2017 at 17:24, Ian Y. Choi <ianyrchoi@gmail.com> wrote:
Hello Yuko,
Would you double check whether current DevStack execution for translation checking purpose shows Chinese translations well or not?
I think it works well since https://bugs.launchpad.net/ horizon/+bug/1710131 status was changed to fix released, but when I have checked using translation checksite from Frank, I still cannot see Chinese characters.
The translation checksite deployment from Frank uses Ansible, and Horizon sources may not be up-to-date, but I unfortunately do not have enough time now to check Chinese translations.
With many thanks,
/Ian
Yuko Katabami wrote on 8/12/2017 6:46 AM:
Hi Akihiro san,
Thank you very much for quickly identifying the cause and providing a work around for us.
After editing local_settings.py and running horizon-reload.sh on my devstack, I can see Simplified Chinese in the language dropdown menu along with many other langs, however when I select Simplified Chinese, the UI remains in English.
This must be caused by the second issue you commented in https://bugs.launchpad.net/horizon/+bug/1710131. We will wait for that to be fixed then.
Kind regards,
Yuko
On 11 August 2017 at 21:11, Akihiro Motoki <amotoki@gmail.com> wrote:
I confirmed this. This is caused by the combination or - the auto-generation logic of the language list introduced in Pike, and - the change in Django 1.9 which droped zh-CN and zh-TW in favor of zh-hans and zh-hant (though Django provides a fallback logic)
I am exploring a way to fix it, but until then the workaround is to set
LOCALE_PATHS = []
in local_settings.py (In case of devstack, it is /opt/stack/horizon/openstack_dashboard/local/local_settings.py)
Thanks, Akihiro
2017-08-11 13:30 GMT+09:00 Yuko Katabami <yukokatabami@gmail.com>:
Hello I18n team.
I am currently checking/reviewing the latest translations on the Horizon UI with another member and we found that Simplified Chinese is not in the list on the user setting page.
I am using a devstack from master branch, only deployed a couple of days ago.
I wonder if other people see the same issue.
The list is looking like the following.
Many thanks in advance,
Yuko
_______________________________________________ OpenStack-I18n mailing list OpenStack-I18n@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n
_______________________________________________ OpenStack-I18n mailing listOpenStack-I18n@lists.openstack.orghttp://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n
With a lot of help from Akihiro-san, I was able to update my test environment and confirmed that the bug is fixed now and I can switch the language to Chinese. Kind regards, Yuko On 17 August 2017 at 19:26, Yuko Katabami <yukokatabami@gmail.com> wrote:
Hi Ian,
My environment is from master branch. I have been updating it daily but I still cannot switch the language to either Simplified or Traditional Chinese. These are in the language list though.
To test with Pike, should I edit the local.conf to change the branch, running the unstack.sh (or clean.sh?), then redeploy?
Kind regards,
Yuko
On 17 August 2017 at 17:24, Ian Y. Choi <ianyrchoi@gmail.com> wrote:
Hello Yuko,
Would you double check whether current DevStack execution for translation checking purpose shows Chinese translations well or not?
I think it works well since https://bugs.launchpad.net/hor izon/+bug/1710131 status was changed to fix released, but when I have checked using translation checksite from Frank, I still cannot see Chinese characters.
The translation checksite deployment from Frank uses Ansible, and Horizon sources may not be up-to-date, but I unfortunately do not have enough time now to check Chinese translations.
With many thanks,
/Ian
Yuko Katabami wrote on 8/12/2017 6:46 AM:
Hi Akihiro san,
Thank you very much for quickly identifying the cause and providing a work around for us.
After editing local_settings.py and running horizon-reload.sh on my devstack, I can see Simplified Chinese in the language dropdown menu along with many other langs, however when I select Simplified Chinese, the UI remains in English.
This must be caused by the second issue you commented in https://bugs.launchpad.net/horizon/+bug/1710131. We will wait for that to be fixed then.
Kind regards,
Yuko
On 11 August 2017 at 21:11, Akihiro Motoki <amotoki@gmail.com> wrote:
I confirmed this. This is caused by the combination or - the auto-generation logic of the language list introduced in Pike, and - the change in Django 1.9 which droped zh-CN and zh-TW in favor of zh-hans and zh-hant (though Django provides a fallback logic)
I am exploring a way to fix it, but until then the workaround is to set
LOCALE_PATHS = []
in local_settings.py (In case of devstack, it is /opt/stack/horizon/openstack_dashboard/local/local_settings.py)
Thanks, Akihiro
2017-08-11 13:30 GMT+09:00 Yuko Katabami <yukokatabami@gmail.com>:
Hello I18n team.
I am currently checking/reviewing the latest translations on the Horizon UI with another member and we found that Simplified Chinese is not in the list on the user setting page.
I am using a devstack from master branch, only deployed a couple of days ago.
I wonder if other people see the same issue.
The list is looking like the following.
Many thanks in advance,
Yuko
_______________________________________________ OpenStack-I18n mailing list OpenStack-I18n@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n
_______________________________________________ OpenStack-I18n mailing listOpenStack-I18n@lists.openstack.orghttp://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n
Some more detail. The cause was LOCALE_PATHS = [] in openstack_dashboard/local/local_settings.py. This was added as a workaround for a bug of the auto-generation of the language list. zh-CN and zh-TW are now fallback into zh-hans/zh-hant in Django, so LOCALE_PATHS might affect something. I am not sure the exact reason, but removing LOCALE_PATHS = [] from local_settings.py solved the issue. Thanks, Akihiro 2017-08-18 15:25 GMT+09:00 Yuko Katabami <yukokatabami@gmail.com>:
With a lot of help from Akihiro-san, I was able to update my test environment and confirmed that the bug is fixed now and I can switch the language to Chinese.
Kind regards,
Yuko
On 17 August 2017 at 19:26, Yuko Katabami <yukokatabami@gmail.com> wrote:
Hi Ian,
My environment is from master branch. I have been updating it daily but I still cannot switch the language to either Simplified or Traditional Chinese. These are in the language list though.
To test with Pike, should I edit the local.conf to change the branch, running the unstack.sh (or clean.sh?), then redeploy?
Kind regards,
Yuko
On 17 August 2017 at 17:24, Ian Y. Choi <ianyrchoi@gmail.com> wrote:
Hello Yuko,
Would you double check whether current DevStack execution for translation checking purpose shows Chinese translations well or not?
I think it works well since https://bugs.launchpad.net/horizon/+bug/1710131 status was changed to fix released, but when I have checked using translation checksite from Frank, I still cannot see Chinese characters.
The translation checksite deployment from Frank uses Ansible, and Horizon sources may not be up-to-date, but I unfortunately do not have enough time now to check Chinese translations.
With many thanks,
/Ian
Yuko Katabami wrote on 8/12/2017 6:46 AM:
Hi Akihiro san,
Thank you very much for quickly identifying the cause and providing a work around for us.
After editing local_settings.py and running horizon-reload.sh on my devstack, I can see Simplified Chinese in the language dropdown menu along with many other langs, however when I select Simplified Chinese, the UI remains in English.
This must be caused by the second issue you commented in https://bugs.launchpad.net/horizon/+bug/1710131. We will wait for that to be fixed then.
Kind regards,
Yuko
On 11 August 2017 at 21:11, Akihiro Motoki <amotoki@gmail.com> wrote:
I confirmed this. This is caused by the combination or - the auto-generation logic of the language list introduced in Pike, and - the change in Django 1.9 which droped zh-CN and zh-TW in favor of zh-hans and zh-hant (though Django provides a fallback logic)
I am exploring a way to fix it, but until then the workaround is to set
LOCALE_PATHS = []
in local_settings.py (In case of devstack, it is /opt/stack/horizon/openstack_dashboard/local/local_settings.py)
Thanks, Akihiro
2017-08-11 13:30 GMT+09:00 Yuko Katabami <yukokatabami@gmail.com>:
Hello I18n team.
I am currently checking/reviewing the latest translations on the Horizon UI with another member and we found that Simplified Chinese is not in the list on the user setting page.
I am using a devstack from master branch, only deployed a couple of days ago.
I wonder if other people see the same issue.
The list is looking like the following.
Many thanks in advance,
Yuko
_______________________________________________ OpenStack-I18n mailing list OpenStack-I18n@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n
_______________________________________________ OpenStack-I18n mailing list OpenStack-I18n@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n
_______________________________________________ OpenStack-I18n mailing list OpenStack-I18n@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n
participants (3)
-
Akihiro Motoki
-
Ian Y. Choi
-
Yuko Katabami