Page MenuHomePhabricator

Setup i18n and TWN for KaiOS Wikipedia app
Closed, ResolvedPublic

Event Timeline

SBisson edited projects, added Inuka-Team (Kanban); removed Inuka-Team.
SBisson moved this task from Backlog to Dev on the Inuka-Team (Kanban) board.

@Nikerabbit we would like this application to be translated with TWN. We've setup the basic i18n/en.json and i18n/qqq.json. Could you guide us through that process? What are the next steps? Thanks!

Our process is documented at https://translatewiki.net/wiki/Setup_of_a_new_project

We will need a repository commit access, see https://translatewiki.net/wiki/Setup_of_a_new_project#Access_for_delivering_translation_updates.

Some people submit patches for repository & message group configuration, but that's not necessary and we can write them as well.

Regardless, there is a bunch of information that is reqruited to finish the process, including:

The translatewiki user now has write access to the repo.

Some people submit patches for repository & message group configuration, but that's not necessary and we can write them as well.

I've looked at the doc and I think I'd rather let you do it right than try and break everything. I've answered the questions below. Let me know if anything else is needed.

Regardless, there is a bunch of information that is reqruited to finish the process, including:

  • Project name

Wikipedia KaiOS Mobile

  • Logo file

Same as iOS and Android Wikipedia apps (not sure where are those defined)

  • Repository location

https://github.com/wikimedia/wikipedia-kaios

  • Short description (can be in your i18n files or provided separately) for translators

Where should it be in the i8n files? Is it a specific key, or some metadata?

Once we're closer to adding this to TWN, I will update Translating:WikimediaMobile to include the KaiOS app. Will it be sufficient?

abi_ renamed this task from Setup i18n and TWN to Setup i18n and TWN for KaiOS Wikipedia app.Oct 19 2019, 5:06 AM
abi_ updated the task description. (Show Details)

Where should it be in the i8n files? Is it a specific key, or some metadata?

We can take the description from here - https://github.com/wikimedia/wikipedia-kaios/blob/master/i18n/en.json#L11

Once we're closer to adding this to TWN, I will update Translating:WikimediaMobile to include the KaiOS app. Will it be sufficient?

Yes, we will add these under the existing - Wikimedia Mobile Apps project.

Change 545793 had a related patch set uploaded (by Abijeet Patro; owner: Abijeet Patro):
[translatewiki@master] Add support for KaiOS Wikipedia app

https://gerrit.wikimedia.org/r/545793

abi_ triaged this task as Medium priority.Oct 24 2019, 3:24 PM

Change 545793 merged by jenkins-bot:
[translatewiki@master] Add support for KaiOS Wikipedia app

https://gerrit.wikimedia.org/r/545793

@abi_ what is the schedule for importing new messages into TWN and exporting translations back into the app repo?

Imports happen multiple times a day. If you only add new messages and don't do any changes, it is fully automated. Cron job runs every 2 hours. If there are changes, a human needs to check before they are imported.

Exports happen usually on Mondays and Thursdays, but they are manual so there are exceptions. https://translatewiki.net/wiki/Translating:WikimediaMobile doesn't actually use the normal project template which would state this.