Repository navigation
Address people the way Apple does in every language - #5
Merged
Merged
Conversation
French, Russian and Romanian now use the formal address, European Portuguese the formal third person, Bulgarian noun forms for the Edit and Delete buttons, and Hindi and Kazakh the polite verb forms. 21 values changed (fr 4, fr-CA 2, ru 3, bg 2, hi 1, kk 2, pt-PT 6, ro 1). The catalog and the user-facing strings in code have no three-dot ellipses.
Revert bg buttons to the singular imperative; infinitive for ru and kk (5 strings).
Apple's French style guide puts buttons, options and input placeholders in the infinitive. Convert the remaining vous/tu imperatives in fr and fr-CA (Choisir, Saisir/Entrer, Essayer, Toucher pour ..., Suivre ...).
Use Apple's iOS 27 wording for "Try again", "Cancel", "Delete", "Edit", "Loading…", "None", "Are you sure?", "Enter text" and "No matches" where a version for the same English text exists. "Try again" now follows Apple's button forms (uk "Ще раз", el "Νέα δοκιμή", cs "Zkusit znovu", sk "Skúsiť znovu", hu "Újrapróbálkozás", bg "Опитай отново", tr "Yeniden Dene", ru "Повторить" and so on). Fix real errors on the way: "%lld chars left" had "left" translated as the direction in 25 languages, "No matches" read "no sports matches" in ar, ca and vi, and several failure messages were nonsense (ca, it, he, kk) or in the plain form (ja).
The package needs Swift tools 6.2, but the macOS 15 image ships Swift 6.1, so every CI run failed before compiling anything.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
The translations now follow Apple's localization style guides for how each language addresses people. Where Apple uses a formal register, so does this package now: French „vous“, Russian «Вы», Bulgarian, Czech, Slovak, Hungarian, Romanian, Greek, Croatian, Ukrainian, Kazakh, Indonesian, Malay and Hindi. European Portuguese uses the third person without a pronoun. Turkish sentences use the plural imperative „-in“, never the stiff „-iniz“. Polish uses a capitalized „Ty/Twój“. Languages where Apple addresses people informally stay as they were: German, Spanish, Italian, Dutch, the Nordic languages, Chinese, Japanese, Korean and Brazilian Portuguese.
Buttons take the form Apple uses for buttons in each language, because the polite form belongs in sentences:
Field placeholders and instructions count as sentences.
Impact on apps using this package
No API changes. The package is meant to match the wording Apple's own UI uses, so this corrects it towards what apps already expect; it fits a minor version. Apps that ship these languages will show the corrected text there.
Examples (before → after)
Changed values per language: pt-PT 6, fr 4, fr-CA 3, ru 3, kk 2, ro 1, hi 1.
How this was verified
swift buildsucceeds.Apple's own wording for standard texts
Short UI strings (buttons, labels, titles) now use the exact wording Apple's own iOS 27 UI uses for the same English text, looked up per language in Apple's localizations, wherever the context matches. This also fixes several mistranslations. A value only got longer where Apple's wording or a rule demands it.
Changed values: 116 (ar 5, bg 2, ca 8, cs 3, da 3, el 6, es 3, fi 2, fr 3, fr-CA 3, he 7, hi 3, hr 4, hu 3, id 2, it 4, ja 5, kk 5, ms 1, nl 4, pl 3, pt-BR 5, pt-PT 3, ro 4, ru 2, sk 3, sv 2, th 2, tr 3, uk 1, vi 1, zh-HK 5, zh-Hans 4, zh-Hant 2).