*** tonyb has quit IRC | 01:24 | |
*** tonyb has joined #openstack-i18n | 01:25 | |
*** epico has joined #openstack-i18n | 01:36 | |
*** gianpietro has joined #openstack-i18n | 02:38 | |
*** epico has quit IRC | 02:56 | |
*** epico has joined #openstack-i18n | 02:57 | |
*** openstackgerrit has joined #openstack-i18n | 03:12 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/i18n master: Updated from global requirements https://review.openstack.org/494776 | 03:12 |
---|---|---|
openstackgerrit | OpenStack Proposal Bot proposed openstack/i18n master: Updated from global requirements https://review.openstack.org/494776 | 04:41 |
*** epico has quit IRC | 05:13 | |
*** epico has joined #openstack-i18n | 05:21 | |
*** gianpietro has quit IRC | 05:50 | |
*** aeng has quit IRC | 05:54 | |
*** gianpietro has joined #openstack-i18n | 06:11 | |
*** gianpietro has quit IRC | 06:16 | |
*** rcernin has joined #openstack-i18n | 06:41 | |
openstackgerrit | Merged openstack/i18n master: Updated from global requirements https://review.openstack.org/494776 | 06:51 |
*** jpich has joined #openstack-i18n | 06:52 | |
*** tesseract has joined #openstack-i18n | 07:13 | |
openstackgerrit | Akihiro Motoki proposed openstack/i18n master: Update horizon-reload.sh not to use run_tests.sh https://review.openstack.org/494979 | 07:21 |
*** pcaruana has quit IRC | 07:32 | |
*** ykatabam has quit IRC | 07:33 | |
*** pcaruana has joined #openstack-i18n | 07:54 | |
*** ykatabam has joined #openstack-i18n | 08:36 | |
*** Adri2000 has quit IRC | 08:42 | |
*** epico_ has joined #openstack-i18n | 08:48 | |
*** epico has quit IRC | 08:52 | |
*** Adri2000 has joined #openstack-i18n | 09:30 | |
*** pcaruana has quit IRC | 10:02 | |
*** gianpietro has joined #openstack-i18n | 10:12 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/i18n master: Imported Translations from Zanata https://review.openstack.org/495152 | 10:16 |
*** gianpietro has quit IRC | 10:16 | |
*** epico_ has quit IRC | 10:18 | |
*** pcaruana has joined #openstack-i18n | 10:22 | |
*** eumel8 has joined #openstack-i18n | 11:04 | |
eumel8 | install translation check server again... | 11:04 |
*** gianpietro has joined #openstack-i18n | 11:46 | |
*** gianpietro has quit IRC | 11:48 | |
*** gianpietro has joined #openstack-i18n | 11:49 | |
*** gianpietro has quit IRC | 12:02 | |
*** gianpietro has joined #openstack-i18n | 12:04 | |
*** rcernin has quit IRC | 12:21 | |
*** rcernin has joined #openstack-i18n | 12:38 | |
*** Dinesh_Bhor has quit IRC | 12:39 | |
*** gianpietro has quit IRC | 12:52 | |
*** gianpietro has joined #openstack-i18n | 12:54 | |
*** gianpietro has quit IRC | 12:56 | |
*** ykatabam has left #openstack-i18n | 12:57 | |
*** yasemin has quit IRC | 13:19 | |
*** yasemin has joined #openstack-i18n | 13:19 | |
yasemin | hi, we build horizon new plugin and i want to translate the dashboard. I added /opt/stack/horizon/openstack_dashboard/locale/ our string but is not working.. How can i do ? any idea ? | 13:22 |
*** gianpietro has joined #openstack-i18n | 14:14 | |
eumel8 | translation check server is back | 14:26 |
eumel8 | language bug is fixed, thx amotoki | 14:27 |
eumel8 | hi yasemin, which kind of plugin you want to use? | 14:28 |
*** itlinux has joined #openstack-i18n | 14:28 | |
yasemin | <eumel8> we added monitor page under the access and security tab | 14:30 |
yasemin | and before login screen, register dashboard | 14:31 |
yasemin | <eumel8> : it is our monitor dashboard : https://github.com/b3lab/safir_monitor_dashboard , but i cant translate it | 14:32 |
*** itlinux has quit IRC | 14:36 | |
*** gianpietro has quit IRC | 14:36 | |
*** itlinux has joined #openstack-i18n | 14:37 | |
*** gianpietro has joined #openstack-i18n | 14:43 | |
*** gianpietro has quit IRC | 14:47 | |
*** gianpietro has joined #openstack-i18n | 14:49 | |
*** itlinux has quit IRC | 14:56 | |
eumel8 | ok, yasemin, so it's no official plugin | 14:57 |
eumel8 | if you copy additional translation files into horizon dirctory you have to compile that | 14:57 |
eumel8 | like this: https://github.com/eumel8/translation_checksite/blob/master/templates/zanata-sync.sh.erb#L10 | 14:57 |
*** gianpietro has quit IRC | 14:57 | |
amotoki | yasemin: is it a horizon plugin? | 14:58 |
*** gianpietro has joined #openstack-i18n | 14:59 | |
amotoki | yasemin: if so, you need to define your python module path in INSTALLED_APPS in horizon 'enabled' file and put message catalog under <your python path>/locale | 14:59 |
amotoki | of course you need to compile message catalogs into mo format. | 14:59 |
amotoki | if you add your new strings /opt/stack/horizon/openstack_dashboard/locale/django.po or djangojs.po (depending on your plugin impl), it should work (while it is not a recommended way) | 15:01 |
*** gianpietro has quit IRC | 15:02 | |
*** gianpietro has joined #openstack-i18n | 15:04 | |
*** gianpietro has quit IRC | 15:04 | |
*** gianpietro has joined #openstack-i18n | 15:04 | |
eumel8 | restart apache is required after that | 15:09 |
*** gianpietro has quit IRC | 15:09 | |
*** gianpietro has joined #openstack-i18n | 15:11 | |
amotoki | eumel8: btw, does the language list work for you now? | 15:12 |
eumel8 | amotoki: yes, thx, you can test it. I've send an email out yet | 15:15 |
amotoki | eumel8: good to know. this means we need to maintain the lang list manually again. | 15:16 |
amotoki | in past releases I cared them positively but from now on I am thinking to do this per request (as horizon bug) | 15:16 |
eumel8 | ok | 15:16 |
amotoki | if someone wants to add your language to the horizon lang list, he/she need to file a bug | 15:17 |
amotoki | (or request it in the i18n list) | 15:18 |
eumel8 | I think there are very few requests | 15:19 |
eumel8 | but it's possible, of course :) | 15:20 |
amotoki | IIRC there is no list change in the recent two release (pike and ocata) | 15:21 |
yasemin | <amotoki> yes it is horizon plugin | 15:22 |
amotoki | eumel8: how can I add a new dashboard to OSA translation check site? I would like to add neutron-fwaas-dashboard. | 15:22 |
yasemin | <amotoki> where is the INSTALLED_APPS | 15:23 |
amotoki | yasemin: I commented "INSTALLED_APPS in horizon 'enabled' file". Is it unclear? | 15:24 |
yasemin | and in stable/ocate devstack, djangojs file does not exists | 15:24 |
amotoki | (I assume you are a horizon plugin developer) | 15:24 |
amotoki | yasemin: re: stable/ocata, what do you mean? | 15:24 |
yasemin | yeah sorry i wrote wrong key, stable/ocata | 15:25 |
robcresswell | I'm confused, you just corrected stable/ocata to stable/ocata :p | 15:25 |
amotoki | djangojs file for what? | 15:25 |
eumel8 | amotoki: good question, maybe for andymccr or robcresswell :) | 15:25 |
amotoki | eumel8: honestly I failed to run OSA with your aio install script.... and haven't investigated more | 15:27 |
amotoki | so the root cause of the original issue on the lang list is still unknown :( | 15:27 |
yasemin | also, already added our dashboard in INSTALLED_APPS | 15:28 |
eumel8 | on ubuntu 16.04? | 15:28 |
amotoki | yes, ubuntu 16.04 with minimum installation | 15:28 |
yasemin | this bugs affects me, https://bugs.launchpad.net/openstack-i18n/+bug/1690233 | 15:29 |
openstack | Launchpad bug 1690233 in openstack i18n "A couple of django-js.po files are missing from Horizon tree" [High,Confirmed] | 15:29 |
andymccr | amotoki: if you were deploying off master we had some issues as projects launched stable/pike :) if you deploy using the stable/pike head of OSA you should be ok now | 15:30 |
amotoki | i tried it almost two weeks ago and that might be a bad timing ... | 15:30 |
amotoki | yasemin: how does it affect to you? | 15:31 |
andymccr | amotoki: for fwaas just trying to find a doc, but from the dashboard plugin perspective you should just need it as part of your neutron_plugins, alternatively you could set "horizon_enable_neutron_fwaas: True" inside /etc/openstack_deploy/user_variables.yml and run the horizon playbook (or do a -e horizon_enable_neutron_fwaas: True" | 15:31 |
eumel8 | this commit works for me: 35972daf6fed6dfbf55f17bbd7cef01f0e778c83 | 15:32 |
andymccr | https://docs.openstack.org/developer/openstack-ansible-os_neutron/configure-network-services.html#firewall-service-optional - it should be setup to use the dashboard if it finds fwaas enabled | 15:32 |
yasemin | amotoki; openstack_dashboard/locale/tr_TR/LC_MESSAGES/djangojs.po are missing from the Horizon source | 15:33 |
amotoki | yasemin: i think it affects only horizon translation of tr_TR. I am not sure how it affects your horizon plugin translation | 15:34 |
yasemin | amotoki, because i try to translation tr/TR, we developed plugin in English | 15:35 |
*** rsimai_ has quit IRC | 15:37 | |
amotoki | yasemin: django searches message catalogs from <app>/locale for each of INSTALL_APPS | 15:37 |
amotoki | yasemin: translation message catalogs for your horizon plugin should be located at <your horizon plugin python path>/locale | 15:37 |
amotoki | yasemin: it should be independent from horizon translations. of course horizon strings for tr-TR are not translated in such case but this is a separate topic | 15:38 |
amotoki | yasemin: I am afraid you try to add more strings from your horizon plugin to openstack_dashboard/locale/...../{django,djangojs}.po | 15:39 |
amotoki | yasemin: if so, it is not a right approach | 15:39 |
amotoki | andymccr: thank for the info. I am completely new to OSA, while I usually use Ansible and have some experience on kolla-ansible | 15:41 |
yasemin | amotoki, okey i prepare new translation file in horizon plugin apps | 15:41 |
andymccr | amotoki: no problem - let me know if you have any questions | 15:41 |
yasemin | amotoki, thank you your explanation | 15:42 |
amotoki | andymccr: thanks. i will try to add some horizon plugins like fwaas/vpnaas for queens | 15:42 |
andymccr | amotoki: if they're needed i can add them to the default scenario for translations - that way it'll just be there on deploy | 15:43 |
amotoki | yasemin: perhaps other horizon plugins implementation will help you on how to handle message catalogs | 15:43 |
amotoki | andymccr: actually neutron-fwaas-dashboard (and vpnaas dashboard (this is non-official) have been split out from horizon during Pike | 15:44 |
amotoki | andymccr: so for neutron-fwaas-dashboard, we would like to have translations for pike | 15:44 |
yasemin | amotoki; yeah maybe, i search it | 15:45 |
amotoki | yasemin: if you have questions feel free to ask here. i can help you | 15:45 |
amotoki | yasemin: for example, in case of neutron-fwaas-dashboard, manage.py extract_messages --module neutron_fwaas_dashboard extract message catalogs | 15:47 |
andymccr | amotoki: ok we'll need to adjust but i dont think that should be too bad - we have a pattern already for some of the others like the lbaas plugin which is also separate | 15:47 |
andymccr | i'll try work on that when i get a bit of time | 15:47 |
amotoki | andymccr: does OSA need to release PyPI module for horizon plugins or is it okay we have git tag for a release? | 15:48 |
yasemin | amotoki, you use extract_messages command ? dont use compilemessages ? | 15:48 |
andymccr | amotoki: we use source so git_tag is good | 15:49 |
amotoki | andymccr: sounds nice :) | 15:49 |
amotoki | yasemin: it is to extract message. for compilation, we use compilemessages | 15:51 |
amotoki | yasemin: you can see message catalogs in somewhere like https://github.com/openstack/neutron-fwaas-dashboard/tree/master/neutron_fwaas_dashboard/locale | 15:52 |
yasemin | amotoki, okey i see | 15:56 |
amotoki | yasemin: this might help you https://docs.djangoproject.com/en/1.11/topics/i18n/translation/#how-django-discovers-translations | 15:57 |
*** jpich has quit IRC | 16:09 | |
*** pcaruana has quit IRC | 16:12 | |
*** tesseract has quit IRC | 16:12 | |
*** rcernin has quit IRC | 16:12 | |
*** itlinux has joined #openstack-i18n | 16:29 | |
*** itlinux has quit IRC | 16:31 | |
*** itlinux has joined #openstack-i18n | 16:38 | |
*** gianpietro has quit IRC | 16:59 | |
*** itlinux has quit IRC | 17:03 | |
*** itlinux has joined #openstack-i18n | 17:34 | |
*** itlinux has quit IRC | 17:54 | |
*** itlinux has joined #openstack-i18n | 18:05 | |
*** itlinux has quit IRC | 18:16 | |
*** itlinux has joined #openstack-i18n | 18:49 | |
*** itlinux_ has joined #openstack-i18n | 19:10 | |
*** itlinux_ has quit IRC | 19:15 | |
*** itlinux has quit IRC | 19:15 | |
*** itlinux has joined #openstack-i18n | 19:18 | |
*** itlinux_ has joined #openstack-i18n | 19:18 | |
*** itlinux_ has quit IRC | 20:22 | |
*** itlinux has quit IRC | 20:22 | |
*** itlinux has joined #openstack-i18n | 20:29 | |
*** itlinux_ has joined #openstack-i18n | 20:30 | |
*** itlinux has quit IRC | 20:48 | |
*** itlinux_ has quit IRC | 20:48 | |
*** itlinux has joined #openstack-i18n | 20:58 | |
*** itlinux_ has joined #openstack-i18n | 20:58 | |
*** itlinux_ has quit IRC | 21:33 | |
*** itlinux has quit IRC | 21:33 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!