Skip to content

Add localisations #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 27 commits into from
Mar 22, 2020
Merged

Add localisations #6

merged 27 commits into from
Mar 22, 2020

Conversation

douglashill
Copy link
Owner

This increase the number of localisations from 1 to 39.

The .strings files are generated from Apple localisation glossaries using a script set up as the ExtractLocalisedStrings target and scheme.

The demo app enables all these localisations, although it isn’t localised itself.

One benefit of being able to extract Apple strings files is that bar button item key command titles no longer need to look up the accessibility label using private API.

@douglashill douglashill merged commit 343d920 into master Mar 22, 2020
@douglashill douglashill deleted the localisation branch March 22, 2020 12:44
@douglashill douglashill mentioned this pull request Mar 28, 2020
douglashill added a commit that referenced this pull request Mar 28, 2020
This improves the localisations added in #6. This was done by looking at:

- the previously generated text
- the bar button item accessibility labels
- the most common translations across Apple’s strings files
- running iOS in many languages and seeing what text is used
- dictionaries

There is no clear superior source in the Apple translations, but combining the sources of information above with judgment should have resulted in better text.

This branch consolidates each of Delete and Refresh to a single entry each since the intended meaning and context is the same.

Lastly, the ExtractLocalisedStrings target has been removed because the strings files need heavy manual editing. The script is a tool to assist rather than full automation so including it in this repository does not make sense.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant