PocketByte / LocoLaser

Localization tool to import localized strings from external source to your project.
Apache License 2.0
31 stars 1 forks source link

Multiple sources #10

Closed PhilipDukhov closed 5 years ago

PhilipDukhov commented 5 years ago

I've split my strings in a couple worksheet in a single doc, added array to "source" field in config file, and faced a couple of problems:

  1. looks like document gets downloaded each time, so script doesn't understand that it already has it downloaded - but it's only matter of 10 more seconds of build time which is not critical if it's hard to fix.
  2. strings are added randomly in the output file, so each time I run script git shows a lot of changes. this is more critical, can it be fixed?
KamiSempai commented 5 years ago
  1. looks like document gets downloaded each time, so script doesn't understand that it already has it downloaded - but it's only matter of 10 more seconds of build time which is not critical if it's hard to fix.

Not totally whole document, but yes, this place should be optimized to reduce amount of requests.

  1. strings are added randomly in the output file, so each time I run script git shows a lot of changes. this is more critical, can it be fixed?

Could you double check that strings are mixed up? For the first run git can show a lot of changes because of different line breakers.

KamiSempai commented 5 years ago

Since version 1.3.0 work with sheets has been optimized.