question-mark
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.

Error code 15 when trying to upload iOS Localizable.strings

See original GitHub issue

Hi!

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:closed
  • Created 6 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
crowdincommented, Mar 19, 2018

– 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/

On Sun, Mar 18, 2018 at 21:52:27 EET, Crowdin/crowdin-Cli-2 <reply@reply.github.com> wrote:

Hi!

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” } }, } ]

You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub [1], or mute the thread [2].

Links:

[1] https://github.com/crowdin/crowdin-cli-2/issues/74 [2] https://github.com/notifications/unsubscribe-auth/AA0k1rfgNCPjZljq5IiPwnirppNLfCPRks5tfrrngaJpZM4SvWN1

0reactions
yavorysynkacommented, Mar 20, 2018

Hi @soberman!

Or I have to make translations on the website and then I will be able to get those localizations for those two languages as well?

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%

Read more comments on GitHub >

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

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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found