Localization of strings in static lib

前端 未结 3 1182
生来不讨喜
生来不讨喜 2021-02-02 02:12

I have a project that uses a static library (SL). In that SL, there are a couple of strings I\'d like to localize and the project includes all of the localization files. The loc

3条回答
  •  醉话见心
    2021-02-02 02:41

    Make the localizable string for the static library, then place that string file in a folder "YourLibraryResource". Rename the folder "YourLibraryResource.bundle".

    Now you include this bundle also in the project along with the library. Then use the code given by abuharsky.

提交回复
热议问题