Closed Bug 1188489 Opened 11 years ago Closed 11 years ago

[masterfirefoxos][ro]: Add Romanian to 2.0 branch

Categories

(Websites Graveyard :: Master Firefox OS, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: CocoMo, Assigned: jgmize)

References

Details

Hello Josh and Matjaz, Please add Romanian to the 2.0 branch at your earliest convenience. Thanks, Peiying
Assignee: jgmize → jmize
Enabled Romanian in Verbatim: https://localize.mozilla.org/ro/masterfirefoxos/ Is it expected to have the most strings of all locales? 1 more than Russian?
(In reply to Matjaz Horvat [:mathjazz] from comment #2) > Enabled Romanian in Verbatim: > https://localize.mozilla.org/ro/masterfirefoxos/ > > Is it expected to have the most strings of all locales? 1 more than Russian? No, there was an error running the job that generates the custom po files based on languages enabled (see https://ci.masterfirefoxos.com/view/Master%20Firefox%20OS/job/masterfirefoxos_makemessages/127/console for details). Once I get this fixed there will be a new commit on the masterfirefox-l10n repo that will need to be pulled into verbatim which should reduce the number of strings in both ro and ru-- I'll ping you as soon as that happens.
Matjaz, we only enable branch I request for. As the case for Romanian, we need only 2.0. Right now it seems we have several versions enabled. The total number of words should be under 4000 roughly. As for Russian, the partner changes their mind back and forth, so we leave it open for now, but it would be only for 2.0 and above (content is yet to be created). So for now, the word count should match with Romanian. Please fix the problem hopefully by Friday. Thanks, Peiying
Blocks: 1189560
Pei, I'll update Verbatim as soon as this is fixed on GitHub.
Hi Josh, the launch is in September, we need to get this done before the launch for training purpose. What is the ETA to get this fixed?
Flags: needinfo?(jmize)
Josh I can think of these three options to fix our issue: 1. Remove USER directive from Dockerfile and instead use `-u` flag in gunicorn. This solves the current issue but in general break development, because files created within the container on a binded volume are owned by root. 2. Alter uid of jenkins user on ci.masterfirefoxos.com to 1000 and on ubuntu user to something else. This doesn't cause any problem that I can think of. 3. Create a custom Dockerfile only for makemessages or remove the USER like on build from our current Dockerfile. I lean towards the second solution. Thoughts? When we upgrade to earlier docker versions which allow `docker exec` as different user problems like this will have more elegant solutions but for now we're stuck with docker 1.5 due to Deis limitations.
(In reply to Giorgos Logiotatidis [:giorgos] from comment #7) > Josh I can think of these three options to fix our issue: > 1. Remove USER directive from Dockerfile and instead use `-u` flag in > gunicorn. This solves the current issue but in general break development, > because files created within the container on a binded volume are owned by > root. > 2. Alter uid of jenkins user on ci.masterfirefoxos.com to 1000 and on ubuntu > user to something else. This doesn't cause any problem that I can think of. > 3. Create a custom Dockerfile only for makemessages or remove the USER like > on build from our current Dockerfile. > > I lean towards the second solution. Thoughts? > > When we upgrade to earlier docker versions which allow `docker exec` as > different user problems like this will have more elegant solutions but for > now we're stuck with docker 1.5 due to Deis limitations. Thanks for taking a look at that, Giorgos. Option 2 seemed simplest to me, too. I ran the following commands on ci.masterfirefoxos.com: grep jenkins /etc/passwd # jenkins:x:107:114:Jenkins,,,:/var/lib/jenkins:/bin/bash sudo service jenkins stop sudo usermod -u 1002 ubuntu sudo usermod -u 1000 jenkins sudo find / -user 107 -exec chown -h 1000 {} \; sudo service jenkins start I then ran https://ci.masterfirefoxos.com/view/Master%20Firefox%20OS/job/masterfirefoxos_makemessages/128/console successfully which produced https://github.com/mozilla/masterfirefoxos-l10n/commit/835d08fec5db13d1fb4d58f0a1ae6856fa6569a2 -- :mathjazz, would you mind pulling this into verbatim? Apologies about the delay, :CocoMo.
Flags: needinfo?(jmize)
Thank you Josh. Jobava, the Romanian localizer working on this said he has started on the project already. I asked him to wait - he had been working offline. He knows to look for 2-0 strings and those with no versions.
(In reply to Josh Mize [:jgmize] from comment #8) > https://github.com/mozilla/masterfirefoxos-l10n/commit/ > 835d08fec5db13d1fb4d58f0a1ae6856fa6569a2 -- :mathjazz, would you mind > pulling this into verbatim? Sorry for the double ping :mathjazz, but I meant to NI you in comment #8 to make sure you saw this :)
Flags: needinfo?(m)
Verbatim updated for all locales (including Romanian and German that submitted a PR I merged). Thanks!
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(m)
Resolution: --- → FIXED
Product: Websites → Websites Graveyard
You need to log in before you can comment on or make changes to this bug.