Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

What is the best practice for sources structure or config options in hybrid iOS/Android project

See original GitHub issue

I 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:

  |- 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:closed
  • Created 3 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

pavelosipovcommented, Jul 21, 2020

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.

og-foxcommented, Jul 22, 2020


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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found