Brazilian Portuguese: seeded from pt-PT, not translated again #110
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
security
tier
1
tier
2
tier
3
tier/4
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Postulo/postulo#110
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Observation
Why this is not the same job as #101
#101 is twenty-one national languages with little or no digital corpus, and it has moved to
1.0.0 for that reason. This is the opposite kind of work: a variant of a language Postulo
already speaks in full.
pt-ptis one of the twenty-four European Union catalogues thatare kept at 100%, so nothing here starts from nothing.
It is also, by a distance, the largest addition to Postulo's reach that a single catalogue
can buy. Brazil has more Portuguese speakers than every other country combined.
What it is not
Not a copy of
pt-ptwith a different code. The two are mutually intelligible and they arenot the same, and a Brazilian reading European Portuguese notices immediately — the way a
reader in Chicago notices colour and lorry. The differences that will actually show up
here are ordinary computing vocabulary, which is exactly what an interface is made of:
Grammar differs too, and more subtly than the vocabulary: Brazilian Portuguese prefers the
gerund where European uses a plus the infinitive (está carregando against está a
carregar), places clitic pronouns differently, and addresses the reader as você where the
European catalogue's register is impersonal. A machine translation from English will produce
a Brazilian-flavoured text that is nonetheless not what the pt-PT catalogue says, which is
the wrong starting point.
Seed from
pt-pt, not from English. Every string has already been translated once bysomebody thinking about this application; what is wanted is that translation adapted, not a
second independent one. The
draftflag then means something precise — this came from theEuropean catalogue and no Brazilian speaker has read it yet — rather than a machine wrote
this.
What has to happen in the code
pt-brinNATIVE_NAMESas português (Brasil), inPLURAL_FORMS(nplurals=2; plural=(n > 1);— Brazilian Portuguese treats zero as plural, unlike the Europeancatalogue's
n != 1, and this is the sort of thing that is wrong in every count on everypage if it is copied without looking), and in
FLAG_COUNTRIESasBR.phones.FROM_LANGUAGEgainspt-br: BR, so a telephone field starts on the right country.pt_PTwith every entry flaggeddraft.pt-brjoins the set the tooling keeps at 100%, or it does not — worth deciding. Aseeded catalogue is technically complete and substantively unreviewed, and counting it as
finished would make the 100% figure mean less for every other language.
The variant question this settles for later
Postulo already carries
en-gb,fr-frandpt-pt— language plus region. This is thefirst case where two regions of one language are both offered, and whatever is done here is
the pattern for
es-419,de-AT,en-usand the rest. Doing it as seed, then divergerather than translate again is the part worth getting right, because the alternative is
two catalogues drifting apart with nobody noticing which is ahead.
Classification
Enhancement, internationalisation. Depends on nothing; the machinery has been in place since
0.2.0.