Ticket #1611 (closed task: fixed)

Opened 3 years ago

Last modified 2 years ago

Translation hookup needed for several activities

Reported by: bemasc Owned by: RafaelOrtiz
Priority: Unspecified by Maintainer Milestone: Unspecified by Release Team
Component: localization Version: Unspecified
Severity: Unspecified Keywords:
Cc: cjl Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

Watch Me:  http://git.sugarlabs.org/projects/watch-me/repos/mainline
ShareTerm:  http://git.sugarlabs.org/projects/shareterm/repos/mainline
StopWatch:  http://dev.laptop.org/git/activities/stopwatch/

All these activities could use translations.

In general, I've become confused as to how translations are working. For example, I don't see Distance/acoustic-measure listed in pootle anywhere.

Change History

in reply to: ↑ description   Changed 3 years ago by garycmartin

Replying to bemasc:

In general, I've become confused as to how translations are working. For example, I don't see Distance/acoustic-measure listed in pootle anywhere.

Hi, FWIW at least distance is in:  http://translate.sugarlabs.org/en/honey/acoustic-measure-activity.po?translate=1&view=1

  Changed 3 years ago by cjl

  • cc cjl added

It is certainly fair to say that the documentation on the localization process needs improvement. In particular, for the developer audience, we could use a recipe for the steps needed to get the activity they maintain set up for localization.

Initial set-up steps that bemasc (or any activity maintainer) should take.

1) bemasc should generate the POT file and place it in a "po" directory in the git repo.

See Paint(Oficina) Source Tree as an example of a Honey activity set up for L10n. Notice the po directory and the contents thereof, one of which is a .pot file

 http://git.sugarlabs.org/projects/paint/repos/mainline/trees/master

2) bemasc should add user pootle as a committer on the activity's project in git. pootle is the username for the pootle server through which individual language admins can commit their specific language PO files in Pootle and cause the pootle server to commit translations (the language specific .po files into the po directory) in git.

There are additional steps needed for these activities to appear in the Honey project on the Pootle server (black magic that Sayamindu performs to make the Pootle-repo push work), but these two steps by the activity maintainer need to happen first.

  Changed 3 years ago by cjl

For Stopwatch (still hosted at dev.laptop.org) it seems the po directory (and POT file) have been created, but off-hand it doesn't look like pootle has commit privs yet. And of course the black magic needs to happen.

 http://dev.laptop.org/git/activities/stopwatch/tree/

You can see an example of the Pootle server committing changes to the Italian PO file to the Record Activity.
 http://dev.laptop.org/git/activities/record/commit/

  Changed 3 years ago by sayamindu

Pootle does not have write privileges on any of the repositories. For those hosted on git.sugarlabs.org, just add the user pootle to the user list associated with the repository.
For the repository hosted on dev.laptop.org, it is a bit more complicated. You will need to poke someone with admin on that machine to allow the pootle user to write to that repository.

  Changed 2 years ago by cjl

  • owner changed from sayamindu to RafaelOrtiz
  • status changed from new to assigned

  Changed 2 years ago by RafaelOrtiz

  • status changed from assigned to closed
  • resolution set to fixed

1 watch-me doesn't have a .POT generated (setup.py genpot) (lacks 118n)
2 Niether shareterm.(lacks 118n)
3  http://translate.sugarlabs.org/es/honey/stopwatch.po stopwatch now in pootle more langs must be added by admins.
4. Separated bugs could be filled for watch-me and shareterm but it would be an overkill due to the fact that these are not maintainded anymore.


Note: See TracTickets for help on using tickets.