Skip to content
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

Localization - Can not Find files #634

Open
zxcheergo opened this issue Dec 1, 2021 · 3 comments
Open

Localization - Can not Find files #634

zxcheergo opened this issue Dec 1, 2021 · 3 comments

Comments

@zxcheergo
Copy link

Hello, everyone. I am trying to add the localization to an app with the CareKit. However, I can not find the Localization files in the repository. When I search the issues, I can find some modifications made with different languages. So how should I add the localization ability and where should I find these related CareKit.strings files? Thank you!

@erik-apple
Copy link
Collaborator

Good questions!

The .strings files are located in the CareKitUI project at CareKit/CareKitUI/CareKitUI/Shared/Localization/. Presently you'll see that there is only an English localization. If you'd like to add support for other languages, you can do so by following the instructions in our documentation. Localization for CareKit works exactly like it does for any other iOS app, so you should be able to follow any tutorials you find elsewhere as well.

https://developer.apple.com/documentation/xcode/adding-support-for-languages-and-regions

@zxcheergo
Copy link
Author

Thanks for your help!

@Hatsushira
Copy link
Contributor

Unfortunately, there is an issue #602 with Swift Package Manager which creates some obstacles if you just link CareKit instead of using your own copy.

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

No branches or pull requests

3 participants