Skip to content

Commit

Permalink
Import from lokalise with correct placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasgarciaisaia committed Mar 16, 2020
1 parent 681fece commit 4896257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion import_language.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def generate_content(translations_lang, translations_file)
client = Lokalise.client LOKALISE_TOKEN

puts "Building files from Lokalise"
response = client.download_files(PROJECT_ID, {format: "json", filter_filenames: ["pasted.json"], replace_breaks: false})
response = client.download_files(PROJECT_ID, {format: "json", filter_filenames: ["pasted.json"], replace_breaks: false, placeholder_format: :icu})

puts "Downloading #{response["bundle_url"]} ..."
content = open(response["bundle_url"])
Expand Down

0 comments on commit 4896257

Please sign in to comment.