Skip to content

Releases: faberNovel/ad_localize

v6.1.0

12 Sep 11:54
Compare
Choose a tag to compare

Added

  • new option (iOS only) --auto-escape-percent that escapes % character in wording. This option should be used if the wording is intended to be used with String(format:).

v6.0.0

17 Jul 14:36
a46af9f
Compare
Choose a tag to compare

Added

  • Remove extra spaces before and after key/translation contents
  • skip lines starting with a # character
  • new option -l or --locales to export only a subset or locales
  • Separate csv parse responsibility between key parser and csv parser
  • use Rubocop to detect coding style offenses (also in github workflow)
  • print warning log when a value is replaced during merge

Changed

  • strip translations
  • parse csv in 2 steps : first analyze keys and keep them in a map, second add translations to keys
  • do not store empty values during parse if -x option is active
  • handle duplicate keys while parsing csv instead of while exporting for a platform
  • BREAKING CHANGE : the way to provide service account information is no longer to set GCLOUD_CLIENT_SECRET with the content of the service account configuration. Now you need to provide the path to the configuration using the environment variable GOOGLE_APPLICATION_CREDENTIALS
  • we no longer access to spreadsheet cells using GSheet v4. Now we downloaded all the relevant sheets and then we parse file contents like normal csv files. We use the exponentiel retry feature provided by google with a maximum of 3 attempts more info here. We noticed we had download error for 6 or more sheets in a spreadsheet.
  • locale wording stores separately each type of wording. This allows to export each wording type concurrently if you want to
  • no more plaform interactor. It has been replaced with generated file interactors. We still have an ios interactor because there are multiple files to export.
  • All templated serializers now share a common parent : TemplatedSerializer
  • Isolate the process to ensure a translation is correctly formatted for a platform in a new class type sanitizers. They can be tested separately.

Removed

  • no more GSpreadsheetOptions. It is handled directly in request

5.0.0

26 Jul 15:31
Compare
Choose a tag to compare

Added

  • Added new option (-x) to bypass keys with empty values for iOS only in PR #78 by ThomasEsterlin

Breaking change

  • Drop support for Ruby >= 2.3, < 2.7

4.1.1

15 Apr 06:36
8f0a04a
Compare
Choose a tag to compare

Fixed

  • Fix an issue with percent export in PR #74. Thanks @ferrandp

4.1.0

02 Mar 14:08
f303a6f
Compare
Choose a tag to compare

Changed

  • Do not export empty translation on Android in PR #72. Thanks @ferrandp

4.0.9

06 Sep 08:16
14017b0
Compare
Choose a tag to compare

Fixed

  • Fix error warning when spreadsheet is empty. Fix #58 in PR #69
  • Add warning messages when input is corrupted. Fix #59 in PR #69
  • Fix performance issue and add warning messages. Fix #61 in PR #69
  • Update deprecated google-api-client gem. Fix #63 in PR #70

4.0.8

25 May 09:09
15dfa0b
Compare
Choose a tag to compare

Fixed

  • Add NFCReaderUsageDescription to InfoPlist keys for iOS

4.0.7

18 May 10:39
Compare
Choose a tag to compare

Changed

  • Support Ruby 3.x

4.0.6

11 Feb 15:58
Compare
Choose a tag to compare

Fixed

  • Fix google spreadsheet sheet id comparison with sheet_ids option value

4.0.5

12 Nov 13:46
Compare
Choose a tag to compare

Fixed

  • Fix csv file type check (also add compatibility with macOS Big Sur)