scribe-org / Scribe-iOS

iOS app with keyboards for language learners
https://apps.apple.com/app/scribe-language-keyboards/id1596613886
GNU General Public License v3.0
129 stars 79 forks source link

Switch all language references in code to ISO-2 codes #494

Open andrewtavis opened 3 months ago

andrewtavis commented 3 months ago

Terms

Description

This issue is a simple one of renaming variables. As of now throughout the codebase we're naming variables based on the language and the ISO-2 code of the language, so like EnglishVarName and enVarName. We should rather use ISO-2 codes throughout the codebase so it's consistent.

As a part of this, we should also organize some of the new files within the repo, which can be done by maintainers in the PR that comes from this :)

Contribution

Happy to support with renaming and help move files around once the PR is up! 😊

andrewtavis commented 3 months ago

Note that we'll still have the Language names as directories names within the language keyboards directory, but the code references themselves should just be the two letter codes :)