Opened 8 years ago

Closed 6 years ago

#2241 closed enhancement (maybelater)

GlotPress plugin to enable GTE-only (read-only) variant to run on

Reported by: alvarogois's profile alvarogois Owned by:
Milestone: Priority: normal
Component: Translate Site & Plugins Keywords:


Due to the fact that we have two variants in Portuguese (Portugal, pt_PT), a new orthographic reform variant (AO90), which is not on, and the default pre-reform variant (pre-AO90), and that we have offline tools to convert pre-AO90 to AO90, we thought of a way to still have only one publicly editable branch, the default variant, and the new one, that should only be edited by GTE/PTE, that would import the converted versions.

This would make possible to maintain only one branch, and manually update the AO90 variant.

AO90 is only mandatory for official institutions, and is not ratified by all other Portuguese speaking countries. Set aside the controversy, the Portuguese WordPress Community publicly voted to maintain the pre-AO90 as the default language pack for WordPress pt_PT, so that no one is forced to use the AO90 version without opting-in. But as soon as variants became a part of core, we've been struggling with the need to have a way to serve both variants, without duplicating the translation flows.

We've suggested other ways to include variants in the GlotPress workflow, that would be useful for other locales also. We've created a plugin to enable the AO90 variant in core (before variants were in core).

The optimal solution would be to have some kind of automated process, that could tap into the already available tools we use offline to make the conversion automatically. We don't have access to the set of rules that makes the new orthography from the old one, therefore, we have to rely on this offline tools and make it by hand.

Having a read-only variant would make this possible. We'd maintain the default variant and import the converted language files to this second variant, that would be read-only or edited only by GTE/PTE.

Change History (3)

This ticket was mentioned in Slack in #glotpress by alvarogois. View the logs.

8 years ago

#2 @obenland
6 years ago

  • Type changed from task to enhancement

@ocean90 Has there been any progress on managing variants since this ticket was opened?

#3 @ocean90
6 years ago

  • Resolution set to maybelater
  • Status changed from new to closed

AO90 is now available on Once there's a plugin for making a translation set read-only we can use that on Until then, I'm marking this as maybelater.

Note: See TracTickets for help on using tickets.