Skip to content

Instantly share code, notes, and snippets.

@mtibben
Last active August 29, 2015 14:13
Show Gist options
  • Save mtibben/8211c871879823c4d985 to your computer and use it in GitHub Desktop.
Save mtibben/8211c871879823c4d985 to your computer and use it in GitHub Desktop.

Translation tool

Problems with phreepio

  • Syncing with Smartling needs two commands - phreepio upload and phreepio download - which means the tool needs to do some operations twice. Leads to longer than necessary CI build times, could be more effiencent
  • Uploading overwrites files. This is problematic for a tool that needs to be shared between users and branches. Also problematic because Smartling now deletes untranslated strings if a file is overwritten, even if the string has been approved.
  • caching implementation has edge cases
  • dependency on php makes it hard to use in other projects

Feature wishlist

  • A direct CLI interface to https://docs.smartling.com/display/docs/Files+API
  • Project level config (like phreepio)
    • globbing
  • a sync command that uploads, downloads, deletes old files and makes you coffee
  • Understands git branches and can rewrite filenames to be prefixed with the git branch or user name
  • Cache by hashing the source file
  • No dependencies - a compiled binary
  • Parallel / async / nonblocking requests
@lwc
Copy link

lwc commented Jan 21, 2015

  • Parallel / async / nonblocking requests
    • Might even remove the need for caching - caching is pretty weird in this context anyways.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment