Monday, 2015-08-24

*** amotoki has joined #openstack-i18n00:47
*** amotoki has quit IRC00:50
*** amotoki has joined #openstack-i18n00:56
*** Daisy has joined #openstack-i18n01:28
*** Daisy has quit IRC01:32
*** Daisy has joined #openstack-i18n01:33
*** Daisy has quit IRC01:37
*** Daisy has joined #openstack-i18n01:58
*** Kennan has joined #openstack-i18n02:46
KennanDaisy: or other i19n developers here?02:46
*** Daisy has quit IRC02:46
Kennani18n02:47
KennanI ask about for this question02:47
Kennanif I used except ValueError as e:02:47
Kennanraise exception.InvalidParameterValue(message=str(e))02:47
Kennanhow to make this i18n style?02:48
Kennanis it needed for raise exception.InvalidParameterValue(message=_(str(e)))02:48
*** Daisy has joined #openstack-i18n02:52
*** Daisy has quit IRC02:52
*** Daisy has joined #openstack-i18n02:53
DaisyKennan: I don't think there are i18n developers. What do you want ?02:53
Kennanhi Daisy: for openstack i18n02:54
KennanI want to know if I used02:54
Kennanabout code02:54
Kennan except ValueError as e:02:54
Kennanraise exception.InvalidParameterValue(message=str(e))02:54
Kennanis it right ?02:54
Kennanor raise exception.InvalidParameterValue(message=_(str(e)))02:54
Kennanthis way ?02:54
Daisyen....I'm not an expert. But I think, both are wrong.02:55
Daisy_() could only be used to wrap the exact messages, like _("Invalidate Parameter")02:56
Daisyit could not be used to wrap a variable.02:56
KennanDaisy: http://docs.openstack.org/developer/oslo.i18n/guidelines.html02:57
KennanI found it can have variable like raise ValueError(_('some message: v1=%(v1)s v2=%(v2)s') % {'v1': v1, 'v2': v2})02:57
*** Daisy has quit IRC03:02
*** Daisy has joined #openstack-i18n03:02
*** epico has joined #openstack-i18n03:24
*** Daisy has quit IRC04:57
*** Daisy has joined #openstack-i18n04:57
*** Daisy has quit IRC04:58
*** Daisy has joined #openstack-i18n05:04
*** Daisy has quit IRC05:08
*** Daisy has joined #openstack-i18n05:15
*** Daisy has quit IRC05:19
*** Daisy has joined #openstack-i18n05:31
*** Daisy has quit IRC05:36
*** Daisy has joined #openstack-i18n05:43
*** Daisy has quit IRC05:48
*** Daisy has joined #openstack-i18n05:59
*** Daisy has quit IRC06:00
*** Daisy has joined #openstack-i18n06:00
*** iranzo has joined #openstack-i18n06:54
*** iranzo has joined #openstack-i18n06:54
*** chandankumar has joined #openstack-i18n07:39
robcresswellHello. Wondering how to add a new openstack project for translation, could anyone help?07:56
amotokirobcresswell: I am not sure the detail process at the moment, but i18n team is now preparing new transltaion platform (Zanata), so I think it is better to wait a bit.08:13
amotokirobcresswell: the migration to Zanata is planned next month (hopefully the first half).08:13
robcresswellamotoki: Yeah, I saw the email earlier today, since I help out a little with the British l10n. Should I just keep an eye on the mailer for new info?08:24
*** ygbo has joined #openstack-i18n08:24
amotokirobcresswell: I think so. if you have more information, I believe daisy, andreas, elizabeth should have more info.08:26
DaisyHi, robcresswell08:28
DaisyLet me find a wiki page for you.08:28
Daisyrobcresswell: https://wiki.openstack.org/wiki/Translations/Infrastructure08:32
DaisyThis is the version for Transifex.08:32
robcresswellDaisy: Thanks! Any updates on zanata? better to wait for now, or are there steps I should take?08:38
Daisyrobcresswell: do you mean, steps to create translation project ? or steps to contribute translation ? I see you helped out a little with British i10n.08:40
robcresswellTo add a project. I seperated out some code from Horizon, but now that means it no longer is translated.08:44
robcresswellDaisy ^^08:46
Daisyok. robcresswell. which project ?08:47
DaisyI heard that Horizon is using plug-in to provide UI for some other projects.08:47
robcresswellDaisy: https://github.com/openstack/horizon-cisco-ui Yes. This code was previously part of Horizon, and thus was translated. I pulled it out to exist as a plugin. Would be nice to translate again, if possible.08:48
Daisyrobcresswell: https://review.openstack.org/#/c/211722/3/gerrit/projects.yaml08:53
DaisyI see horizon-cisco-ui has been added an opition "translation" in this patch.08:54
robcresswellDaisy: I was not aware of that.08:56
robcresswellDoes this mean infra/ zanata will detect the translation work, as long as the repo is setup correctly?08:57
Daisyrobcresswell: I guess, your project is looking after by infrastructure colleagues who are helping us to set up Zanata08:57
DaisyI don't know, actually.08:57
DaisyI need to figure out.08:57
Daisyrobcresswell: I see your project has no locale folder and no pot files. I don't know if there is a common project structure for all translatable projects.08:58
robcresswellDaisy: https://github.com/openstack/horizon-cisco-ui/tree/master/horizon_cisco_ui/cisco/locale But, that location is incorrect. The repo is still being set up tbh, but thats why I'm curious about how to translate.09:01
robcresswellThose files are empty, so its not picking up strings correctly. I'll need to fix that.09:01
Daisywhat is "tbh" ?09:01
robcresswellTo be honest.09:01
robcresswellSorry, slang is not helpful.09:01
DaisyNo worry.09:02
DaisyI think, at first, you may need to have your project look good, following common rules of other translatable projects.09:02
amotokirobcresswell: Daisy: I am not sure too how we can support translations for separate horizon panel (plug-ins).09:02
Daisyamotoki: :)09:03
Daisyme too.09:03
amotokiI am now thinking we need to merge all translations into one file in openstack_dashboard/locale/ (for Liberty).09:03
DaisyI don't know how many plug-ins, I don't know which plugins are ready for translation, which are not .09:03
amotokiwe can maintain each translation in a separate repo,09:03
DaisyThat might become a difficulty for Liberty translation.09:03
amotokiand deployers can merge all of them into a single file (by using gettext tool).09:04
amotokiI could not spend enough time for horiozn in Liberty, so it is completely out of my rader :-(09:05
Daisyamotoki: your idea, is to manage separate pot files in each repo, but merge them before uploading to translation tool ?09:05
Daisyamotoki: do you think whom I should talk to , about this topic ?09:05
amotokiDaisy: we can discuss it in horizon meeting, and of course the dev list looks good to me.09:06
Daisyok. hope I could go Horizon meeting at first. I could get quick response through IRC.09:06
amotokiDaisy: one choice is to manage both pot and po files in each repo and deployers merge them09:07
amotokithe other choice is that we release merged po files into openstack_dashboard/locale/09:07
Daisyamotoki:  I don't know details yet. Yet, I don't think it's a good idea. Even if we have to use this idea for liberty, it will be a temporary solution.09:08
amotokiit is just an idea. more investigation is required from various perspectives (upstream repo maintenance, distributor, and deployers)09:08
robcresswellDaisy: I recently compiled a list of Horizon plugins, although I am not sure which support translation. That would be a good idea for an extra column on the table: https://github.com/openstack/horizon/blob/master/doc/source/plugins.rst09:08
DaisyGreat, robcresswell09:09
DaisyI plan to discuss plugin translation in Horizon meeting.09:09
robcresswellFantastic, thanks09:09
amotokiDaisy: robcresswell: sounds nice.09:10
amotokiof course it would be great if we can support translations per plugin and load them directly.09:10
Daisyamotoki: robcresswell: just checked, the next horizon meeting time is not good for me at all.09:11
DaisyMaybe I initiate the discussion in mailing list at first.09:12
robcresswellDaisy: The meetings alternate each week. Does either work?09:24
robcresswell12 UTC and 2000 UTC09:24
Daisy12 UTC works better.09:24
DaisySeptember 2 1200 UTC09:25
DaisyI think it's a little late ?09:25
robcresswellHmm :/09:25
robcresswellIs there anyone else who is knowledgeable in this matter who could attend?09:25
DaisyBut anyway, I will figure out with infrastructure team firstly. How do they plan, and then I will pass the message to you.09:25
robcresswellI could raise the point (I normally attend both meetings), but I don't know enough about translation to explain properly I think.09:26
robcresswellThanks for your help09:26
Daisyrobcresswell: I get these information at first, then I write to openstack-dev mailing list. Maybe you could help to raise the point. If I could get up at 4am, I will attend. :)09:28
robcresswellDaisy: Great, thanks. There is no need to get up at 4am! I'm sure this can be resolved without that :p09:51
Daisyrobcresswell: I have a short chat with Andreas Jaeger.09:52
Daisythe "translation" option in projects.yaml only creates the corresponding project in Zanata.09:53
DaisyThere are some additional steps to set up all things.09:53
Daisyall things for translation.09:54
robcresswellGot it. Are those steps documented yet? Or the same as with transifex?09:54
Daisythe same with Transifex.09:54
robcresswellGreat09:54
*** adiantum has quit IRC09:55
*** adiantum_ has joined #openstack-i18n09:55
*** Kennan has quit IRC10:09
*** Kennan has joined #openstack-i18n10:10
*** Kennan has left #openstack-i18n10:16
*** epico has quit IRC10:17
*** Daisy has quit IRC10:36
*** Daisy has joined #openstack-i18n10:36
*** Daisy has quit IRC10:41
*** amotoki has quit IRC11:02
*** FdotFr has joined #openstack-i18n11:05
*** Daisy has joined #openstack-i18n11:57
*** Daisy has quit IRC12:02
*** daemontool__ has joined #openstack-i18n12:27
*** daemontool_ has quit IRC12:29
*** Daisy has joined #openstack-i18n12:40
*** doug-fish has joined #openstack-i18n12:48
*** FdotFr has quit IRC13:11
*** Daisy has quit IRC13:24
*** doug-fish has quit IRC13:27
*** doug-fish has joined #openstack-i18n13:28
*** doug-fis_ has joined #openstack-i18n13:29
*** doug-fi__ has joined #openstack-i18n13:31
*** doug-fish has quit IRC13:32
*** doug-fish has joined #openstack-i18n13:33
*** doug-fis_ has quit IRC13:34
*** doug-fish has quit IRC13:34
*** doug-fish has joined #openstack-i18n13:34
*** doug-fi__ has quit IRC13:36
*** doug-fish has quit IRC13:43
*** doug-fish has joined #openstack-i18n13:43
*** doug-fish has quit IRC13:48
*** doug-fish has joined #openstack-i18n13:50
*** amotoki has joined #openstack-i18n14:00
*** FdotFr has joined #openstack-i18n14:04
*** FdotFr has quit IRC14:04
*** macjack has joined #openstack-i18n14:52
*** amotoki has quit IRC15:16
*** chandankumar has quit IRC15:16
*** Daisy has joined #openstack-i18n15:36
*** Daisy has quit IRC15:41
doug-fishpkarikh: I'm not sure there is a good formal process to report translations bugs ... I found success going into the translator's channel #openstack-i18n and whining; hopefully they can point to you the real process from there!15:49
*** doug-fish has quit IRC15:49
*** doug-fish has joined #openstack-i18n15:49
*** doug-fish has quit IRC15:54
*** chandankumar has joined #openstack-i18n16:01
*** doug-fish has joined #openstack-i18n16:05
*** ygbo has quit IRC16:18
*** doug-fish has quit IRC16:31
*** doug-fish has joined #openstack-i18n16:31
*** doug-fish has quit IRC17:08
*** doug-fish has joined #openstack-i18n17:09
*** doug-fish has quit IRC17:13
*** doug-fish has joined #openstack-i18n17:48
*** macjack has quit IRC18:42
*** chandankumar has quit IRC20:08
*** doug-fish has quit IRC22:34
*** doug-fish has joined #openstack-i18n22:34
*** doug-fis_ has joined #openstack-i18n22:37
*** doug-fish has quit IRC22:38
*** doug-fish has joined #openstack-i18n22:41
*** doug-fis_ has quit IRC22:42
*** doug-fish has quit IRC22:46
*** doug-fish has joined #openstack-i18n23:34
*** DuncanT has quit IRC23:38
*** doug-fish has quit IRC23:38
*** DuncanT has joined #openstack-i18n23:38

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