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.

`skip_untranslated_strings` broken when used with FBT

See original GitHub issue

Describe the bug

When using the skip_untranslated_strings in a fbt project, the downloaded translations are not valid and fbt throws an exception when trying to parse them.

To Reproduce

Steps to reproduce the behavior:

  1. Configuration file:
'base_path': '.'
'base_url': 'https://api.crowdin.com'
'preserve_hierarchy': true

files:
  [
    {
      'source': '/i18n/source_strings.json',
      'translation': '/i18n/locales/%locale_with_underscore%.json',
      'dest': '/source_strings.json',
      'escape_special_characters': 0,
    },
  ]

  1. Add a new source string and run crowdin push
  2. crowdin pull
  3. Downloaded file will contain
{
  // other translations ...
  "3FXDlC5vnE/y+OZSJXr+IQ==": null
}

Expected behavior

The key should be omitted not set to null

{
  // other translations...
}

Environment:

  • OS: MacOS
  • Version 11.2

Screenshots N/A

Additional context N/A

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
alexandernanbergcommented, Jan 18, 2022

Looks like this have been fixed now, thanks!

0reactions
Rommka4commented, Jan 18, 2022

Hi @alexandernanberg Great, happy to hear that! Thank you for letting us know Wish you a lovely day!

Read more comments on GitHub >

github_iconTop Results From Across the Web

[NEW 2020] VRChat FBT Fixes (Fullbody Avatar Mega-Tutorial)
[Update 11/10/2021]In Unity 2019 it's easier for the project to break during file overwrite. It's better not to delete the .meta file when ......
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