Upon the addition of the sister wiki projects descriptive text on the wikipedia.org portal page, we'll now tackle getting those descriptions translated into as many languages as possible. There are several steps to do this:
1. create a new .json file that will contain the descriptive text - something like:
'wikivoyage-descriptive-text': 'Free Travel Guide'
- can be called en.json for convenience
- should look just like any such file in MediaWiki extensions.
2. add in a new path in git for this new .json file, such as:
3. get a group set up for this in translatewiki with push access
- @Nikerabbit will help set up a message group setup for translatewiki.net.
4. do a request to the community for translations of the descriptive text
- L10n-bot needs to be given access https://gerrit.wikimedia.org/r/#/admin/projects/wikimedia/portals,access (CR+2 and Submit)
5. as translations come in from the community, they are 'pushed' to our new .json file in our repository
- one file per language
- updates are generally pushed twice a week
6. update the wikipedia.org portal page to call this new .json file when the page is loaded and the user's preferred browser language is detected
7. every time the wikipedia.org portal page is updated, the new translations will need to be retrieved from the repo and merged to then be updated with the rest of the portal
Note: pay attention for how right to left languages are displayed
Further notes from @Nikerabbit:
Original A/B testing ticket for descriptive text with timeline and details: https://phabricator.wikimedia.org/T131238
Ticket releasing the code into production: https://phabricator.wikimedia.org/T133732