Error code 15 when trying to upload iOS Localizable.strings
See original GitHub issueHi!
I am trying to upload my localization files for an iOS project. Upload of the file structure goes correctly, I can see corresponding folders persisted, however as soon as Crowdin tries to upload Localizable.strings
file I get this error in my console (I am using Crowdin CLI version is 2.0.22):
$ crowdin upload --identity ./crowdin.credentials.yml
Directory 'MyAppName' - OK
Directory 'MyAppName/Localization' - OK
Directory 'MyAppName/Localization/en.lproj' - OK
File 'MyAppName/Localization/en.lproj/Localizable.strings' - ERROR
code : 15
message : Invalid file type
What am I doing wrong? Could you help me out please?
Here is how my configuration file looks like (it passes the lint
command successfully):
"project_identifier" : "MyProjectName"
"base_path" : "."
"preserve_hierarchy": true
files: [
{
"source" : "/MyAppName/Localization/en.lproj/Localizable.strings",
"translation" : "/MyAppName/Localization/%osx_code%/%original_file_name%",
"type" : "strings",
"languages_mapping" : {
"two_letters_code" : {
"no" : "nb"
}
},
}
]
Issue Analytics
- State:
- Created 6 years ago
- Comments:6
Top Results From Across the Web
New iOS String Initializer can't g… | Apple Developer Forums
I tried to build LocalizedKeyString using String's new Initializer. When I change the language setting of the device, everything works as expected.
Read more >Localizable.strings - The data couldn't be read because it isn't ...
It seems like SVN is having some issue with this file. As it consider it to be a binary file.
Read more >A Step-by-Step SwiftUI Tutorial | Phrase
Let us move on to create a string file called 'Localizable' that will hold the text we want to localize. Choose File →...
Read more >Localization of Xcode iOS Apps, Part 2
UpdateStoryboardStrings.sh is used to pull localizable text from your storyboard files and put them in the appropriate .strings files.
Read more >[XCUITest] Error: Could not install app Command 'ios-deploy ...
Given the path to your app, I presume the problem is that you are trying to install a simulator build onto a real...
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
– Please reply above this line –
Hello,
Could you tell us your project name so we can investigate it more thoroughly?
Looking forward to your reply.
How would you rate my reply? Great [1] Okay [2] Not Good [3]
– Sincerely, Mariana Diediukh Customer Success Manager
Links:
[1] https://secure.helpscout.net/satisfaction/173474414/record/1481066979/1/ [2] https://secure.helpscout.net/satisfaction/173474414/record/1481066979/2/ [3] https://secure.helpscout.net/satisfaction/173474414/record/1481066979/3/
Hi @soberman!
Exactly 😃 When you make translations for Polish and Norwegian, it will be downloaded to your computer\machine this way: /MyAppName/Localization/%osx_code%/%original_file_name%