Friday, 2017-08-18

*** tonyb has quit IRC01:24
*** tonyb has joined #openstack-i18n01:25
*** epico has joined #openstack-i18n01:36
*** gianpietro has joined #openstack-i18n02:38
*** epico has quit IRC02:56
*** epico has joined #openstack-i18n02:57
*** openstackgerrit has joined #openstack-i18n03:12
openstackgerritOpenStack Proposal Bot proposed openstack/i18n master: Updated from global requirements  https://review.openstack.org/49477603:12
openstackgerritOpenStack Proposal Bot proposed openstack/i18n master: Updated from global requirements  https://review.openstack.org/49477604:41
*** epico has quit IRC05:13
*** epico has joined #openstack-i18n05:21
*** gianpietro has quit IRC05:50
*** aeng has quit IRC05:54
*** gianpietro has joined #openstack-i18n06:11
*** gianpietro has quit IRC06:16
*** rcernin has joined #openstack-i18n06:41
openstackgerritMerged openstack/i18n master: Updated from global requirements  https://review.openstack.org/49477606:51
*** jpich has joined #openstack-i18n06:52
*** tesseract has joined #openstack-i18n07:13
openstackgerritAkihiro Motoki proposed openstack/i18n master: Update horizon-reload.sh not to use run_tests.sh  https://review.openstack.org/49497907:21
*** pcaruana has quit IRC07:32
*** ykatabam has quit IRC07:33
*** pcaruana has joined #openstack-i18n07:54
*** ykatabam has joined #openstack-i18n08:36
*** Adri2000 has quit IRC08:42
*** epico_ has joined #openstack-i18n08:48
*** epico has quit IRC08:52
*** Adri2000 has joined #openstack-i18n09:30
*** pcaruana has quit IRC10:02
*** gianpietro has joined #openstack-i18n10:12
openstackgerritOpenStack Proposal Bot proposed openstack/i18n master: Imported Translations from Zanata  https://review.openstack.org/49515210:16
*** gianpietro has quit IRC10:16
*** epico_ has quit IRC10:18
*** pcaruana has joined #openstack-i18n10:22
*** eumel8 has joined #openstack-i18n11:04
eumel8install translation check server again...11:04
*** gianpietro has joined #openstack-i18n11:46
*** gianpietro has quit IRC11:48
*** gianpietro has joined #openstack-i18n11:49
*** gianpietro has quit IRC12:02
*** gianpietro has joined #openstack-i18n12:04
*** rcernin has quit IRC12:21
*** rcernin has joined #openstack-i18n12:38
*** Dinesh_Bhor has quit IRC12:39
*** gianpietro has quit IRC12:52
*** gianpietro has joined #openstack-i18n12:54
*** gianpietro has quit IRC12:56
*** ykatabam has left #openstack-i18n12:57
*** yasemin has quit IRC13:19
*** yasemin has joined #openstack-i18n13:19
yaseminhi, 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-i18n14:14
eumel8translation check server is back14:26
eumel8language bug is fixed, thx amotoki14:27
eumel8hi yasemin, which kind of plugin you want to use?14:28
*** itlinux has joined #openstack-i18n14:28
yasemin<eumel8> we added monitor page under the access and security tab14:30
yaseminand before login screen, register dashboard14:31
yasemin <eumel8> : it is our monitor dashboard : https://github.com/b3lab/safir_monitor_dashboard , but i cant translate it14:32
*** itlinux has quit IRC14:36
*** gianpietro has quit IRC14:36
*** itlinux has joined #openstack-i18n14:37
*** gianpietro has joined #openstack-i18n14:43
*** gianpietro has quit IRC14:47
*** gianpietro has joined #openstack-i18n14:49
*** itlinux has quit IRC14:56
eumel8ok, yasemin, so it's no official plugin14:57
eumel8if you copy additional translation files into horizon dirctory you have to compile that14:57
eumel8like this: https://github.com/eumel8/translation_checksite/blob/master/templates/zanata-sync.sh.erb#L1014:57
*** gianpietro has quit IRC14:57
amotokiyasemin: is it a horizon plugin?14:58
*** gianpietro has joined #openstack-i18n14:59
amotokiyasemin: 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>/locale14:59
amotokiof course you need to compile message catalogs into mo format.14:59
amotokiif 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 IRC15:02
*** gianpietro has joined #openstack-i18n15:04
*** gianpietro has quit IRC15:04
*** gianpietro has joined #openstack-i18n15:04
eumel8restart apache is required after that15:09
*** gianpietro has quit IRC15:09
*** gianpietro has joined #openstack-i18n15:11
amotokieumel8: btw, does the language list work for you now?15:12
eumel8amotoki: yes, thx, you can test it. I've send an email out yet15:15
amotokieumel8: good to know. this means we need to maintain the lang list manually again.15:16
amotokiin past releases I cared them positively but from now on I am thinking to do this per request (as horizon bug)15:16
eumel8ok15:16
amotokiif someone wants to add your language to the horizon lang list, he/she need to file a bug15:17
amotoki(or request it in the i18n list)15:18
eumel8I think there are very few requests15:19
eumel8but it's possible, of course :)15:20
amotokiIIRC there is no list change in the recent two release (pike and ocata)15:21
yasemin<amotoki> yes it is horizon plugin15:22
amotokieumel8: 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_APPS15:23
amotokiyasemin: I commented "INSTALLED_APPS in horizon 'enabled' file". Is it unclear?15:24
yaseminand in stable/ocate devstack, djangojs file does not exists15:24
amotoki(I assume you are a horizon plugin developer)15:24
amotokiyasemin: re: stable/ocata, what do you mean?15:24
yaseminyeah sorry i wrote wrong key,  stable/ocata15:25
robcresswellI'm confused, you just corrected stable/ocata to stable/ocata :p15:25
amotokidjangojs file for what?15:25
eumel8amotoki: good question, maybe for andymccr or robcresswell :)15:25
amotokieumel8: honestly I failed to run OSA with your aio install script.... and haven't investigated more15:27
amotokiso the root cause of the original issue on the lang list is still unknown :(15:27
yaseminalso, already added our dashboard in INSTALLED_APPS15:28
eumel8on ubuntu 16.04?15:28
amotokiyes, ubuntu 16.04 with minimum installation15:28
yaseminthis bugs affects me, https://bugs.launchpad.net/openstack-i18n/+bug/169023315:29
openstackLaunchpad bug 1690233 in openstack i18n "A couple of django-js.po files are missing from Horizon tree" [High,Confirmed]15:29
andymccramotoki: 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 now15:30
amotokii tried it almost two weeks ago and that might be a bad timing ...15:30
amotokiyasemin: how does it affect to you?15:31
andymccramotoki: 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
eumel8this commit works for me: 35972daf6fed6dfbf55f17bbd7cef01f0e778c8315:32
andymccrhttps://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 enabled15:32
yaseminamotoki; openstack_dashboard/locale/tr_TR/LC_MESSAGES/djangojs.po are missing from the Horizon source15:33
amotokiyasemin: i think it affects only horizon translation of tr_TR. I am not sure how it affects your horizon plugin translation15:34
yaseminamotoki, because i try to translation tr/TR, we developed plugin in English15:35
*** rsimai_ has quit IRC15:37
amotokiyasemin: django searches message catalogs from <app>/locale for each of INSTALL_APPS15:37
amotokiyasemin: translation message catalogs for your horizon plugin should be located at <your horizon plugin python path>/locale15:37
amotokiyasemin: 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 topic15:38
amotokiyasemin: I am afraid you try to add more strings from your horizon plugin to openstack_dashboard/locale/...../{django,djangojs}.po15:39
amotokiyasemin: if so, it is not a right approach15:39
amotokiandymccr: thank for the info. I am completely new to OSA, while I usually use Ansible and have some experience on kolla-ansible15:41
yaseminamotoki, okey i prepare new translation file in horizon plugin apps15:41
andymccramotoki: no problem - let me know if you have any questions15:41
yaseminamotoki, thank you your explanation15:42
amotokiandymccr: thanks. i will try to add some horizon plugins like fwaas/vpnaas for queens15:42
andymccramotoki: if they're needed i can add them to the default scenario for translations - that way it'll just be there on deploy15:43
amotokiyasemin: perhaps other horizon plugins implementation will help you on how to handle message catalogs15:43
amotokiandymccr: actually neutron-fwaas-dashboard (and vpnaas dashboard (this is non-official) have been split out from horizon during Pike15:44
amotokiandymccr: so for neutron-fwaas-dashboard, we would like to have translations for pike15:44
yaseminamotoki; yeah maybe, i search it15:45
amotokiyasemin: if you have questions feel free to ask here. i can help you15:45
amotokiyasemin: for example, in case of neutron-fwaas-dashboard, manage.py extract_messages --module neutron_fwaas_dashboard extract message catalogs15:47
andymccramotoki: 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 separate15:47
andymccri'll try work on that when i get a bit of time15:47
amotokiandymccr: does OSA need to release PyPI module for horizon plugins or is it okay we have git tag for a release?15:48
yaseminamotoki, you use extract_messages command ? dont use compilemessages ?15:48
andymccramotoki: we use source so git_tag is good15:49
amotokiandymccr: sounds nice :)15:49
amotokiyasemin: it is to extract message. for compilation, we use compilemessages15:51
amotokiyasemin: you can see message catalogs in somewhere like https://github.com/openstack/neutron-fwaas-dashboard/tree/master/neutron_fwaas_dashboard/locale15:52
yaseminamotoki, okey i see15:56
amotokiyasemin: this might help you https://docs.djangoproject.com/en/1.11/topics/i18n/translation/#how-django-discovers-translations15:57
*** jpich has quit IRC16:09
*** pcaruana has quit IRC16:12
*** tesseract has quit IRC16:12
*** rcernin has quit IRC16:12
*** itlinux has joined #openstack-i18n16:29
*** itlinux has quit IRC16:31
*** itlinux has joined #openstack-i18n16:38
*** gianpietro has quit IRC16:59
*** itlinux has quit IRC17:03
*** itlinux has joined #openstack-i18n17:34
*** itlinux has quit IRC17:54
*** itlinux has joined #openstack-i18n18:05
*** itlinux has quit IRC18:16
*** itlinux has joined #openstack-i18n18:49
*** itlinux_ has joined #openstack-i18n19:10
*** itlinux_ has quit IRC19:15
*** itlinux has quit IRC19:15
*** itlinux has joined #openstack-i18n19:18
*** itlinux_ has joined #openstack-i18n19:18
*** itlinux_ has quit IRC20:22
*** itlinux has quit IRC20:22
*** itlinux has joined #openstack-i18n20:29
*** itlinux_ has joined #openstack-i18n20:30
*** itlinux has quit IRC20:48
*** itlinux_ has quit IRC20:48
*** itlinux has joined #openstack-i18n20:58
*** itlinux_ has joined #openstack-i18n20:58
*** itlinux_ has quit IRC21:33
*** itlinux has quit IRC21:33

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!