*** amotoki has joined #openstack-i18n | 00:47 | |
*** amotoki has quit IRC | 00:50 | |
*** amotoki has joined #openstack-i18n | 00:56 | |
*** Daisy has joined #openstack-i18n | 01:28 | |
*** Daisy has quit IRC | 01:32 | |
*** Daisy has joined #openstack-i18n | 01:33 | |
*** Daisy has quit IRC | 01:37 | |
*** Daisy has joined #openstack-i18n | 01:58 | |
*** Kennan has joined #openstack-i18n | 02:46 | |
Kennan | Daisy: or other i19n developers here? | 02:46 |
---|---|---|
*** Daisy has quit IRC | 02:46 | |
Kennan | i18n | 02:47 |
Kennan | I ask about for this question | 02:47 |
Kennan | if I used except ValueError as e: | 02:47 |
Kennan | raise exception.InvalidParameterValue(message=str(e)) | 02:47 |
Kennan | how to make this i18n style? | 02:48 |
Kennan | is it needed for raise exception.InvalidParameterValue(message=_(str(e))) | 02:48 |
*** Daisy has joined #openstack-i18n | 02:52 | |
*** Daisy has quit IRC | 02:52 | |
*** Daisy has joined #openstack-i18n | 02:53 | |
Daisy | Kennan: I don't think there are i18n developers. What do you want ? | 02:53 |
Kennan | hi Daisy: for openstack i18n | 02:54 |
Kennan | I want to know if I used | 02:54 |
Kennan | about code | 02:54 |
Kennan | except ValueError as e: | 02:54 |
Kennan | raise exception.InvalidParameterValue(message=str(e)) | 02:54 |
Kennan | is it right ? | 02:54 |
Kennan | or raise exception.InvalidParameterValue(message=_(str(e))) | 02:54 |
Kennan | this way ? | 02:54 |
Daisy | en....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 |
Daisy | it could not be used to wrap a variable. | 02:56 |
Kennan | Daisy: http://docs.openstack.org/developer/oslo.i18n/guidelines.html | 02:57 |
Kennan | I 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 IRC | 03:02 | |
*** Daisy has joined #openstack-i18n | 03:02 | |
*** epico has joined #openstack-i18n | 03:24 | |
*** Daisy has quit IRC | 04:57 | |
*** Daisy has joined #openstack-i18n | 04:57 | |
*** Daisy has quit IRC | 04:58 | |
*** Daisy has joined #openstack-i18n | 05:04 | |
*** Daisy has quit IRC | 05:08 | |
*** Daisy has joined #openstack-i18n | 05:15 | |
*** Daisy has quit IRC | 05:19 | |
*** Daisy has joined #openstack-i18n | 05:31 | |
*** Daisy has quit IRC | 05:36 | |
*** Daisy has joined #openstack-i18n | 05:43 | |
*** Daisy has quit IRC | 05:48 | |
*** Daisy has joined #openstack-i18n | 05:59 | |
*** Daisy has quit IRC | 06:00 | |
*** Daisy has joined #openstack-i18n | 06:00 | |
*** iranzo has joined #openstack-i18n | 06:54 | |
*** iranzo has joined #openstack-i18n | 06:54 | |
*** chandankumar has joined #openstack-i18n | 07:39 | |
robcresswell | Hello. Wondering how to add a new openstack project for translation, could anyone help? | 07:56 |
amotoki | robcresswell: 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 |
amotoki | robcresswell: the migration to Zanata is planned next month (hopefully the first half). | 08:13 |
robcresswell | amotoki: 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-i18n | 08:24 | |
amotoki | robcresswell: I think so. if you have more information, I believe daisy, andreas, elizabeth should have more info. | 08:26 |
Daisy | Hi, robcresswell | 08:28 |
Daisy | Let me find a wiki page for you. | 08:28 |
Daisy | robcresswell: https://wiki.openstack.org/wiki/Translations/Infrastructure | 08:32 |
Daisy | This is the version for Transifex. | 08:32 |
robcresswell | Daisy: Thanks! Any updates on zanata? better to wait for now, or are there steps I should take? | 08:38 |
Daisy | robcresswell: 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 |
robcresswell | To add a project. I seperated out some code from Horizon, but now that means it no longer is translated. | 08:44 |
robcresswell | Daisy ^^ | 08:46 |
Daisy | ok. robcresswell. which project ? | 08:47 |
Daisy | I heard that Horizon is using plug-in to provide UI for some other projects. | 08:47 |
robcresswell | Daisy: 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 |
Daisy | robcresswell: https://review.openstack.org/#/c/211722/3/gerrit/projects.yaml | 08:53 |
Daisy | I see horizon-cisco-ui has been added an opition "translation" in this patch. | 08:54 |
robcresswell | Daisy: I was not aware of that. | 08:56 |
robcresswell | Does this mean infra/ zanata will detect the translation work, as long as the repo is setup correctly? | 08:57 |
Daisy | robcresswell: I guess, your project is looking after by infrastructure colleagues who are helping us to set up Zanata | 08:57 |
Daisy | I don't know, actually. | 08:57 |
Daisy | I need to figure out. | 08:57 |
Daisy | robcresswell: 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 |
robcresswell | Daisy: 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 |
robcresswell | Those files are empty, so its not picking up strings correctly. I'll need to fix that. | 09:01 |
Daisy | what is "tbh" ? | 09:01 |
robcresswell | To be honest. | 09:01 |
robcresswell | Sorry, slang is not helpful. | 09:01 |
Daisy | No worry. | 09:02 |
Daisy | I think, at first, you may need to have your project look good, following common rules of other translatable projects. | 09:02 |
amotoki | robcresswell: Daisy: I am not sure too how we can support translations for separate horizon panel (plug-ins). | 09:02 |
Daisy | amotoki: :) | 09:03 |
Daisy | me too. | 09:03 |
amotoki | I am now thinking we need to merge all translations into one file in openstack_dashboard/locale/ (for Liberty). | 09:03 |
Daisy | I don't know how many plug-ins, I don't know which plugins are ready for translation, which are not . | 09:03 |
amotoki | we can maintain each translation in a separate repo, | 09:03 |
Daisy | That might become a difficulty for Liberty translation. | 09:03 |
amotoki | and deployers can merge all of them into a single file (by using gettext tool). | 09:04 |
amotoki | I could not spend enough time for horiozn in Liberty, so it is completely out of my rader :-( | 09:05 |
Daisy | amotoki: your idea, is to manage separate pot files in each repo, but merge them before uploading to translation tool ? | 09:05 |
Daisy | amotoki: do you think whom I should talk to , about this topic ? | 09:05 |
amotoki | Daisy: we can discuss it in horizon meeting, and of course the dev list looks good to me. | 09:06 |
Daisy | ok. hope I could go Horizon meeting at first. I could get quick response through IRC. | 09:06 |
amotoki | Daisy: one choice is to manage both pot and po files in each repo and deployers merge them | 09:07 |
amotoki | the other choice is that we release merged po files into openstack_dashboard/locale/ | 09:07 |
Daisy | amotoki: 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 |
amotoki | it is just an idea. more investigation is required from various perspectives (upstream repo maintenance, distributor, and deployers) | 09:08 |
robcresswell | Daisy: 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.rst | 09:08 |
Daisy | Great, robcresswell | 09:09 |
Daisy | I plan to discuss plugin translation in Horizon meeting. | 09:09 |
robcresswell | Fantastic, thanks | 09:09 |
amotoki | Daisy: robcresswell: sounds nice. | 09:10 |
amotoki | of course it would be great if we can support translations per plugin and load them directly. | 09:10 |
Daisy | amotoki: robcresswell: just checked, the next horizon meeting time is not good for me at all. | 09:11 |
Daisy | Maybe I initiate the discussion in mailing list at first. | 09:12 |
robcresswell | Daisy: The meetings alternate each week. Does either work? | 09:24 |
robcresswell | 12 UTC and 2000 UTC | 09:24 |
Daisy | 12 UTC works better. | 09:24 |
Daisy | September 2 1200 UTC | 09:25 |
Daisy | I think it's a little late ? | 09:25 |
robcresswell | Hmm :/ | 09:25 |
robcresswell | Is there anyone else who is knowledgeable in this matter who could attend? | 09:25 |
Daisy | But anyway, I will figure out with infrastructure team firstly. How do they plan, and then I will pass the message to you. | 09:25 |
robcresswell | I could raise the point (I normally attend both meetings), but I don't know enough about translation to explain properly I think. | 09:26 |
robcresswell | Thanks for your help | 09:26 |
Daisy | robcresswell: 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 |
robcresswell | Daisy: Great, thanks. There is no need to get up at 4am! I'm sure this can be resolved without that :p | 09:51 |
Daisy | robcresswell: I have a short chat with Andreas Jaeger. | 09:52 |
Daisy | the "translation" option in projects.yaml only creates the corresponding project in Zanata. | 09:53 |
Daisy | There are some additional steps to set up all things. | 09:53 |
Daisy | all things for translation. | 09:54 |
robcresswell | Got it. Are those steps documented yet? Or the same as with transifex? | 09:54 |
Daisy | the same with Transifex. | 09:54 |
robcresswell | Great | 09:54 |
*** adiantum has quit IRC | 09:55 | |
*** adiantum_ has joined #openstack-i18n | 09:55 | |
*** Kennan has quit IRC | 10:09 | |
*** Kennan has joined #openstack-i18n | 10:10 | |
*** Kennan has left #openstack-i18n | 10:16 | |
*** epico has quit IRC | 10:17 | |
*** Daisy has quit IRC | 10:36 | |
*** Daisy has joined #openstack-i18n | 10:36 | |
*** Daisy has quit IRC | 10:41 | |
*** amotoki has quit IRC | 11:02 | |
*** FdotFr has joined #openstack-i18n | 11:05 | |
*** Daisy has joined #openstack-i18n | 11:57 | |
*** Daisy has quit IRC | 12:02 | |
*** daemontool__ has joined #openstack-i18n | 12:27 | |
*** daemontool_ has quit IRC | 12:29 | |
*** Daisy has joined #openstack-i18n | 12:40 | |
*** doug-fish has joined #openstack-i18n | 12:48 | |
*** FdotFr has quit IRC | 13:11 | |
*** Daisy has quit IRC | 13:24 | |
*** doug-fish has quit IRC | 13:27 | |
*** doug-fish has joined #openstack-i18n | 13:28 | |
*** doug-fis_ has joined #openstack-i18n | 13:29 | |
*** doug-fi__ has joined #openstack-i18n | 13:31 | |
*** doug-fish has quit IRC | 13:32 | |
*** doug-fish has joined #openstack-i18n | 13:33 | |
*** doug-fis_ has quit IRC | 13:34 | |
*** doug-fish has quit IRC | 13:34 | |
*** doug-fish has joined #openstack-i18n | 13:34 | |
*** doug-fi__ has quit IRC | 13:36 | |
*** doug-fish has quit IRC | 13:43 | |
*** doug-fish has joined #openstack-i18n | 13:43 | |
*** doug-fish has quit IRC | 13:48 | |
*** doug-fish has joined #openstack-i18n | 13:50 | |
*** amotoki has joined #openstack-i18n | 14:00 | |
*** FdotFr has joined #openstack-i18n | 14:04 | |
*** FdotFr has quit IRC | 14:04 | |
*** macjack has joined #openstack-i18n | 14:52 | |
*** amotoki has quit IRC | 15:16 | |
*** chandankumar has quit IRC | 15:16 | |
*** Daisy has joined #openstack-i18n | 15:36 | |
*** Daisy has quit IRC | 15:41 | |
doug-fish | pkarikh: 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 IRC | 15:49 | |
*** doug-fish has joined #openstack-i18n | 15:49 | |
*** doug-fish has quit IRC | 15:54 | |
*** chandankumar has joined #openstack-i18n | 16:01 | |
*** doug-fish has joined #openstack-i18n | 16:05 | |
*** ygbo has quit IRC | 16:18 | |
*** doug-fish has quit IRC | 16:31 | |
*** doug-fish has joined #openstack-i18n | 16:31 | |
*** doug-fish has quit IRC | 17:08 | |
*** doug-fish has joined #openstack-i18n | 17:09 | |
*** doug-fish has quit IRC | 17:13 | |
*** doug-fish has joined #openstack-i18n | 17:48 | |
*** macjack has quit IRC | 18:42 | |
*** chandankumar has quit IRC | 20:08 | |
*** doug-fish has quit IRC | 22:34 | |
*** doug-fish has joined #openstack-i18n | 22:34 | |
*** doug-fis_ has joined #openstack-i18n | 22:37 | |
*** doug-fish has quit IRC | 22:38 | |
*** doug-fish has joined #openstack-i18n | 22:41 | |
*** doug-fis_ has quit IRC | 22:42 | |
*** doug-fish has quit IRC | 22:46 | |
*** doug-fish has joined #openstack-i18n | 23:34 | |
*** DuncanT has quit IRC | 23:38 | |
*** doug-fish has quit IRC | 23:38 | |
*** DuncanT has joined #openstack-i18n | 23:38 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!