Skip to content

CrowdinSDK not downloading certain localizable.strings files #137

Closed
@GerardRiera

Description

@GerardRiera

Dear Crowdin developers,

I'm working on an App that has the following languages

  • Danish
  • Dutch
  • Dutch, Belgium
  • English, United Kingdom
  • English United States
  • French
  • French, Belgium
  • German
  • Swedish

I want those strings to be downloaded via the CrowdinSDK, however, some strings are not being downloaded and I don't know why.

I've have eagerly followed the CrowdinSDK installation and integration instructions:

  • First I went to my project on the Crowdin website, and released a iOS distribution including the Localizable.strings, Localizable.stringsdict and InfoPlist.strings files to it.
  • Then, I copied the distribution hash to my clipboard.
  • After doing this, I've installed the CrowdinSDK and the CrowdinSDK/Settings to my Xcode project, via Pods.
  • Then in the AppDelegate class, I've configured the CrowdinSDK using the following code:
let crowdinProviderConfig = CrowdinProviderConfig(hashString: myHash, sourceLanguage: mySourceLanguageVariable /*e.g: nl-NL*/)
        
let crowdinSDKConfig = CrowdinSDKConfig()
    .with(crowdinProviderConfig: crowdinProviderConfig)
    .with(debugEnabled: true)
    .with(settingsEnabled: true)

CrowdinSDK.currentLocalization = mySourceLanguageVariable //e.g: nl-NL

CrowdinSDK.startWithConfig(crowdinSDKConfig) {
    print("Crowdin is ready")
    // Launch App 
} 

The only languages that are downloading correctly are as follows:

  • Danish
  • English, United Kingdom
  • English United States
  • French

I know that those languages are being downloaded correctly, because the App shows the correct strings on the App's UI, and the CrowdinSDK shows the following LOG:

CrowdinSDK: GET, https://distributions.crowdin.net/myHash/content/MyProject/MyLanguage.lproj/Localizable.strings?timestamp=TimeStamp

The other ones are simply not downloading and when the App tries to find them, it displays a warning indicating that it cannot find those strings, showing the Keys from this strings on the App, instead of the Values.

I did the release 3 hours ago, so I understand that all the strings should be correctly published by now.

Steps to reproduce the behavior:

  1. Simply launch the App.

Expected behavior
To have all the languages being downloaded correctly from Crowdin.

Smartphone (please complete the following information):

  • Device: iPhone 12 Emulator
  • OS: iOS 14.2

Could you please help me with this issue?

Thank you very much.

Best regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions