Opened 2 years ago

Last modified 2 months ago

#5600 new change

CMS Should extract all translations from crowdin even if locale dir does not exist in tip of repo — at Initial Version

Reported by: jsonesen Assignee:
Priority: P3 Milestone:
Module: Sitescripts Keywords:
Cc: kvas, sebastian, juliandoucette, rhowell Blocked By:
Blocking: Platform: Unknown / Cross platform
Ready: yes Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

Description

Background

Currently the way locales are synced is by instantiating a mercurial source object and then listing the local locales (read directories in locales dir from the tip of the repo) and syncing those locale translations from crowdin.

The current flow for syncing new translations involves creating a new locale directory in <root>/locales and committing it to the repository. Mercurial also does not recognize empty folders, so there must be a file committed to the repository. Which is not very straightforward (not documented either) and seems to add unnecessary overhead for developers.

What to change

Change the CMS translations sync script to create new locale directories based on what is in the crowdin project rather than which locale directories have been committed to the website repo.

Change History (0)

Note: See TracTickets for help on using tickets.