What is the best practice for sources structure or config options in hybrid iOS/Android project
See original GitHub issueI use crowdin to localize both iOS and Android app. At the same time, I integrated my project branches with CLI app (3.2.0), and resulting directory structure in crowdin looks like the following:
master
|- values // Android resources
| |- Android
| |- some_strings.xml
|- InfoPlist.strings // iOS
|- Localizable.strings // iOS
|- Localizable.stringsdict // iOS
The problem is the annoying warning which is impossible to hide when downloading translations for the iOS app “Due to missing respective sources, the following translations will be omitted”:
crowdin download -l es-ES -b `git branch --show-current`
✔️ Fetching project info
✔️ Building ZIP archive with the latest translations for 'es-ES'
✔️ Building translation (100%)
✔️ Downloading translation
✔️ Extracted: 'Resources/Localization/es.lproj/AppStore.strings'
✔️ Extracted: 'Resources/Localization/es.lproj/Localizable.strings'
✔️ Extracted: 'Resources/Localization/es.lproj/Localizable.stringsdict'
✔️ Extracted: 'Resources/es.lproj/InfoPlist.strings'
⚠️ Due to missing respective sources, the following translations will be omitted:
- values/strings.xml
- values/some_strings.xml
How to hide it or may there is a more convenient way to separate resources in a multiplatform project. My configuration file:
"base_path": "."
"files": [
{
"source": "/Resources/Localization/en.lproj/*.strings",
"translation": "/Resources/Localization/%osx_locale%.lproj/%original_file_name%",
},
{
"source": "/Resources/Localization/en.lproj/*.stringsdict",
"translation": "/Resources/Localization/%osx_locale%.lproj/%original_file_name%",
},
{
"source": "/Resources/en.lproj/*.strings",
"translation": "/Resources/%osx_locale%.lproj/%original_file_name%",
}
]
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
What Is a Hybrid App? (Detailed Guide for 2022) - Upwork
Hybrid apps are mobile apps optimized for cross-platform compatibility and built with ... guidelines on iOS and Android or to access platform-specific APIs....
Read more >Hybrid Apps: An overview of Advantages, Limitations ...
Hybrid apps combine elements of native apps (developed for a specific platform such as iOS or Android) and of web apps.
Read more >The 10 Best Hybrid App Frameworks in 2022 - MobileAppDaily
One of the best hybrid app development frameworks, React Native earned a pretty good reputation in 2021 which is expected to continue throughout ......
Read more >Mobile Device Security Cloud and Hybrid Builds ... - NCCoE
Configure the security settings based on your local requirements. 321. 322. Page 77. Mobile Device Security Cloud and Hybrid Practice Guide.
Read more >How to Choose the Right Mobile App Database for ... - Simform
You can select the best database for your mobile app based on your requirements. MySQL: An open-source, multi-threaded, and easy-to-use SQL ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, @og-fox Thanks a lot for your quick response! Making branches with different prefixes for iOS and Android is a good enough solution for me. I thought about it but decided to prove that workaround before implementation.
@pavelosipov,
I’m sorry we didn’t notice previous question! But I’m glad to hear that you found all the answers already 😃
If there is anything else we might be able to assist you with, feel free to ping us!