mastodon-ios/Localization/StringsConvertor
Jed Fox 0a9689c67f
Add support for selecting the post language (#907)
* Basic fake language picker support

* Recognize languages from post text

* Exclude suggested languages from recents

* Load recent languages from Settings object

* Send the language to the API

* Persist the used language to settings

* Always show the currently selected language in the list

* Fix crash

* Add support for picking arbitrary lanuages

* Fix display of 3 letter language codes

* Improve label to include endonym too

* Limit to 3 recent languages

* Reduce lower bound for displaying language suggestions

* Fix saving recent language when publishing

* Fix tint color of language picker button

* Add a badge to prompt users to change language

* Dismiss the badge even if you pick the same language

* Read language names in the language if possible

* Use a compressed font for 3-letter codes

Also use `minimumScaleFactor` to shrink troublesome codes to fit

Co-Authored-By: samhenrigold <49251320+samhenrigold@users.noreply.github.com>

* Remove .vscode/launch.json

* Add message to fatalError()

Co-authored-by: samhenrigold <49251320+samhenrigold@users.noreply.github.com>
2023-01-24 01:50:10 +01:00
..
Intents/input New Crowdin updates (#788) 2022-12-21 21:27:00 +01:00
Sources/StringsConvertor feat: new i18n languages. Czech (cs) and Slovenian (sl) 2022-11-16 19:56:16 +08:00
Tests feat: add localization helper 2021-02-22 16:20:23 +08:00
input Add support for selecting the post language (#907) 2023-01-24 01:50:10 +01:00
scripts chore: update i18n scripts and resources 2021-08-06 16:14:27 +08:00
Package.swift feat: add localization helper 2021-02-22 16:20:23 +08:00
README.md feat: add localization helper 2021-02-22 16:20:23 +08:00

README.md

StringsConvertor

Convert i18n JSON file to Stings file.

Usage

chmod +x scripts/build.sh
./scripts/build.sh

# lproj files will locate in output/ directory