<html><body><p>It will be great if you could help, Terri Yu.<br>Could you find me in the IRC channel #openstack-i18n ?<br>We could have a detail discussion there.<br><br>Best regards<br>Ying Chun Guo (Daisy)<br><br><br><tt>qmechanic@gmail.com wrote on 2015/12/29 12:26:58:<br><br>> From: Terri Yu <terri@terriyu.info></tt><br><tt>> To: "Elizabeth K. Joseph" <lyz@princessleia.com></tt><br><tt>> Cc: Ying Chun Guo/China/IBM@IBMCN, OpenStack Infra <openstack-<br>> infra@lists.openstack.org></tt><br><tt>> Date: 2015/12/29 12:28</tt><br><tt>> Subject: Re: [OpenStack-Infra] Translation check website</tt><br><tt>> Sent by: qmechanic@gmail.com</tt><br><tt>> <br>> Hi Daisy,<br></tt><br><tt>> I'm interested in helping out with the translation check project.<br></tt><br><tt>> Last October, I was awarded a Women of OpenStack scholarship by HPE <br>> [1]. The scholarship includes working on an OpenStack project under<br>> guided mentorship. My mentor is Liz Joseph (pleia2), and she <br>> suggested that I take a look at this translation check project. I <br>> have some previous OpenStack experience with Ceilometer and I know <br>> Python, but I'm new to -infra and Puppet.<br></tt><br><tt>> I have some time to get started the first two weeks of January, but <br>> after that, my spring semester in school will begin and I will <br>> probably only have around 10 hours a week to work on OpenStack. Liz<br>> said she'll be available to help me. The folks at Hewlett Packard <br>> aren't expecting me to implement any major features. They would <br>> simply like me to get more experience working on OpenStack and have <br>> enough accomplished for a presentation in April.<br></tt><br><tt>> Are there any small tasks I can help you with? Let me know if you <br>> think this project would be appropriate for me.</tt><br><tt>> <br>> Sincerely,<br></tt><br><tt>> Terri Yu</tt><br><tt>> <br>> [1] <a href="http://community.hpe.com/t5/Grounded-in-the-Cloud/">http://community.hpe.com/t5/Grounded-in-the-Cloud/</a><br>> Congratulations-to-the-Women-of-OpenStack-Scholarship-Recipients/ba-<br>> p/6806417#.VoIIyPkrJaQ</tt><br><tt>> <br>> On Mon, Nov 23, 2015 at 3:01 PM, Elizabeth K. Joseph <lyz@princessleia.com<br>> > wrote:</tt><br><tt>> On Thu, Nov 19, 2015 at 12:22 AM, Ying Chun Guo <guoyingc@cn.ibm.com> wrote:<br>> > Hello, openstack-infra team<br>> ><br>> > I'm going to start to work of translation check website.<br>> > The spec is<br>> > <a href="http://git.openstack.org/cgit/openstack-infra/infra-specs/tree/">http://git.openstack.org/cgit/openstack-infra/infra-specs/tree/</a><br>> specs/translation_check_site.rst<br>> ><br>> > Akihiro MOTOKI has created some scripts/configuration files to set up a<br>> > personal check website used by Japanese team.<br>> > I think I could refer to his work, change the scripts/config as needed, and<br>> > set up the check website on top of Openstack infra.<br>> > I have a few questions about how to set up these scripts/config.<br>> > Please help to guide me to finish this work.<br>> ><br>> > 1. Which repo and which folder should I add those scripts/config files ?<br>> ><br>> > The scripts are in <a href="https://github.com/amotoki/horizon-i18n-tools">https://github.com/amotoki/horizon-i18n-tools</a>.<br>> > These scripts are used to pull translations, and change the language drop<br>> > down list of Horizon.<br>> <br>> I'll bring this up at the -infra meeting on Tuesday so others can look<br>> at this thread and chime in, but we have a couple options here.<br>> <br>> These scripts can either be put in your new i18n repository,<br>> particularly if they'll be broadly useful to other people:<br>> <br>> <a href="http://git.openstack.org/cgit/openstack/i18n/">http://git.openstack.org/cgit/openstack/i18n/</a><br>> <br>> Or they can be included in the puppet-translations_checksite project<br>> that we create (more below).<br>> <br>> > The config files are in <a href="https://github.com/amotoki/ansible-i18n-devstack/">https://github.com/amotoki/ansible-i18n-devstack/</a><br>> > They are Ansible jobs to pull devstack, populates local.conf, pulls<br>> > horizon-i18n-tools and setup a cron to retrieve the latest translation.<br>> ><br>> > I think I need to change the codes as needed, and then upload them to<br>> > somewhere.<br>> > Does openstack infra use Ansible ?<br>> <br>> Not for service deployment, we'll need to do this in Puppet.<br>> <br>> You can use both Akihiro's instructions and also look at how we deploy<br>> devstack ourselves using devstack-gate<br>> <a href="https://git.openstack.org/cgit/openstack-infra/devstack-gate/tree/">https://git.openstack.org/cgit/openstack-infra/devstack-gate/tree/</a> in<br>> order to come up with a puppet module that runs all the commands we<br>> want.<br>> <br>> > Where to store them ?<br>> <br>> We'll want to create an infra puppet module specifically for this<br>> project. You can look at the puppet-infra-cookiecutter module as an<br>> example: <a href="https://git.openstack.org/cgit/openstack-infra/puppet-">https://git.openstack.org/cgit/openstack-infra/puppet-</a><br>> infra-cookiecutter/tree/<br>> <br>> > 2. When pulling the latest translations, there are two choices.<br>> > One is to pull from Horizon repo, the other is to pull from Zanata.<br>> > Which one do you suggest ? Lyz may help to answer this question.<br>> > If pulling from Zanata, could I get a sample of script to install Zanata<br>> > client ?<br>> <br>> In order for this check site to be as useful as possible, we'll want<br>> to pull them from Zanata just like Akihiro used to do with Transifex<br>> on his instance.<br>> <br>> Documentation for the zanata-cli can be found here:<br>> <a href="http://docs.zanata.org/projects/zanata-client/en/latest/">http://docs.zanata.org/projects/zanata-client/en/latest/</a><br>> <br>> In the puppet manifest you'll want to make sure you install the zanata<br>> client, you can see a Puppet example of including the client on a<br>> system here: <a href="http://git.openstack.org/cgit/openstack-infra/system-">http://git.openstack.org/cgit/openstack-infra/system-</a><br>> config/tree/modules/openstack_project/manifests/proposal_slave.pp<br>> <br>> Some of the translations scripts we've written can be found in<br>> project-config jenkins scripts (see ones that include "translation" in<br>> the script name):<br>> <a href="https://git.openstack.org/cgit/openstack-infra/project-config/tree/">https://git.openstack.org/cgit/openstack-infra/project-config/tree/</a><br>> jenkins/scripts<br>> <br>> > 3. How to get a machine to set up the website ?<br>> <br>> Once the puppet module is complete, you'll contact one of us on the<br>> infra team (probably me) and I'll launch the server.<br>> <br>> A couple notes:<br>> <br>> 1. We'll want to refresh this instance regularly (weekly?), so you'll<br>> want a cron job to run unstack.sh weekly or so and then recreate the<br>> devstack instance. We'll also want to keep an eye on how this goes,<br>> since unstack.sh is not a perfect script and we may need to recreate<br>> the instance from scratch now and then.<br>> <br>> 2. We also want to pull the translations regularly (daily?), so you'll<br>> want a cron job to run the zanata-cli script for the translations in<br>> Horizon<br>> <br>> > 4. How to get a domain name ? for example: translation-test.openstack.org ?<br>> <br>> This will be created when I bring up the server in step 3. We don't<br>> have a name for it yet, but should probably update the spec when we<br>> decide upon one.<br>> <br>> --<br>> Elizabeth Krumbach Joseph || Lyz || pleia2</tt><BR>
</body></html>