Moving translations for Waymarkedtrails to another github repo

Moving translations for Waymarkedtrails to another github repo

Hi,

I have spent the last year restructuring the code for Waymarkedtrails. The website part is moving into a separate repo: https://github.com/waymarkedtrails/waymarkedtrails-website

I'd like to move the translation files to the new website repo. The new repo has a similar structure for the translations. The base directory for translations is: https://github.com/waymarkedtrails/waymarkedtrails-website/tree/master/src/i18n Each language has its own subdirectory with two files:

  • helppages.yaml is exactly the same as it was in the original repo.
  • messages.yaml replaces the old gettext translations. It is now also in yaml format with markdown content, i.e. exactly the same format as helppages.yaml. I have left the messages themselves intact where possible and converted the translations. I have also left the header with the translatewiki in place.

The qot/ and qqq/ languages remain in their previous functions as source and place for comments.

Is it possible to move the translation process over to the new repository like this? I have already given the translatewiki.net user write access. If there is anything else I can do to help, let me know.

Lonvia (talk)20:18, 14 December 2021

Hi Lonvia,

Thanks for reaching out. We should be able to move to using the new repository.

How often are the translation being migrated from https://github.com/waymarkedtrails/waymarked-trails-site to https://github.com/waymarkedtrails/waymarkedtrails-website. Is it easy to do? Basically, we'd not like to lose any translations that have been made.

Regards,

Abijeet Patro (talk)12:21, 16 December 2021

That's good to hear. Thanks, Abijeet.

I have a script with which I can sync translations coming in to the old repo. It's fairly easy to do but it is still a manual process (with the usual implication that I have to remember to run in). The translations are up to date right now with the latest commit from Dec 13th.

Lonvia (talk)12:57, 16 December 2021

Hi Lonvia,

We've migrated translatewiki to track the new repository.

Previously there was a symbolic link from "no" to "nb" to avoid imports from Waymarked Trails. Shall we remove it?

Regards,

Abijeet Patro (talk)16:01, 23 December 2021

Awesome, thank you.

The links are no longer necessary. Language aliases are now handled in the code.

There was a commit this morning to django/locale/scn/LC_MESSAGES/django.po in the old repo which I haven't synced yet. Do you want me to do that manually or will it be in the next commit from your side?

Lonvia (talk)16:34, 23 December 2021