carekit-apple / CareKit

CareKit is an open source software framework for creating apps that help people better understand and manage their health.
https://www.researchandcare.org
Other
2.39k stars 441 forks source link

Translations for CareKit SPM #651

Open Hengyu opened 2 years ago

Hengyu commented 2 years ago

Hi team,

Since CareKit it self does not have translations for languages, we need to add localizable files for ourselves.

However, when using SPM, the added files won't work and the content in the CareKit provided components are still in English which is the default and only language in the CareKit's localizable file.

Can someone take a look?

Thanks in advance!

Hatsushira commented 2 years ago

Unfortunately, known issue. #602 Seems to be a problem with the SPM itself rather than CareKit.

Hengyu commented 2 years ago

@Hatsushira Thanks for the reference! I think the problem might be the using of Bundle.module in translation utility methods.