Sha256: 276cf4bbc76c2f82b82ba103f62d1a5539cbef550f47e7905615cf6dfde4481c

Contents?: true

Size: 1.41 KB

Versions: 1

Compression:

Stored size: 1.41 KB

Contents

Bisu 홀
========

Bisu manages your app iOS and Android localization files for you. No more copy+paste induced errors!

---

Instalation
-----
  
```
gem install bisu
```

Usage
-----

1. Open terminal in app project base
1. Run: `bisu`
1. That's it!*

*given that someone already configured Bisu

Configuration
-----

1. Create in your **iOS/Android** app project base folder a translatable.yml:

  ```
  type: <iOS/Android>
  
  sheet_id: <GOOGLE-DRIVE-SHEET-ID>
  keys_column: <GOOGLE-DRIVE-KEY-COLUMN-TITLE>
  
  in:
    - path/to/1st/file.translatable
    - path/to/2nd/file.translatable
  
  out:
    - language: english
      folder:   path/to/en.lproj/
    - language: korean
      folder:   path/to/ko.lproj/
  ```

1. Create a \*.translatable version for your **iOS** localization files:

  ```
  // $specialKComment1$
  // $specialKComment2$
  
  // $specialKLanguage$
  
  /***********
  *  General
  ************/
  
  "klGeneral_Delete" = "$kDelete$";
  "klGeneral_Cancel" = "$kCancel$";
  "klGeneral_Close"  = "$kClose$";
  ```

1. Create a \*.translatable version for your **Android** localization files:

  ```
  <?xml version="1.0" encoding="utf-8"?>
  
  <!-- $specialKComment1$ -->
  <!-- $specialKComment2$ -->
  <!-- $specialKLanguage$ -->
  
  <resources>
      <string name="delete">$kDelete$</string>
      <string name="cancel">$kCancel$</string>
      <string name="close">$kClose$</string>
  </resources>
  ```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bisu-1.0.2 README.md