Package: bendihua
================================================================================bendihua - 本地化 - स्थानीयकरण - локализация - Lokalisierung - Localização - localize================================================================================.. image:: https://travis-ci.org/chfw/bendihua.svg?branch=master:target: http://travis-ci.org/chfw/bendihua.. image:: https://codecov.io/gh/chfw/bendihua/branch/master/graph/badge.svg:target: https://codecov.io/gh/chfw/bendihuaUsage================================================================================Given your locale as en.json::{"ui-button": "hello world"}You run: `bdh en.json -d zh-cn` and will get `output-zh-cn.json` as::{"ui-button": "你好，世界“}What you run `bdh en.json -d hi`? You will get it in `Hindi`::{"ui-button": "नमस्ते दुनिया"}And it automatically supports `aurelia-i18n <https://github.com/aurelia/i18n>`_locale format.Command line options--------------------------------------------------------------------------------::usage: bdh [-h] [-d DEST_LANGUAGE] [-o OUTPUT] locale.jsonpositional arguments:locale.json           locale dictionary where keys are engineering tokensand values are actual user interface wordsoptional arguments:-h, --help            show this help message and exit-d DEST_LANGUAGE, --dest-language DEST_LANGUAGEDestination language short code-o OUTPUT, --output OUTPUTselect a name for the output file. if omitted, outputname is defaulted to output-{dest-language}.jsonSupported languages--------------------------------------------------------------------------------=====================  ============language               short code=====================  ============afrikaans              afalbanian               sqamharic                amarabic                 ararmenian               hyazerbaijani            azbasque                 eubelarusian             bebengali                bnbosnian                bsbulgarian              bgcatalan                cacebuano                cebchichewa               nychinese (simplified)   zh-cnchinese (traditional)  zh-twcorsican               cocroatian               hrczech                  csdanish                 dadutch                  nlenglish                enesperanto              eoestonian               etfilipino               tlfinnish                fifrench                 frfrisian                fygalician               glgeorgian               kagerman                 degreek                  elgujarati               guhaitian creole         hthausa                  hahawaiian               hawhebrew                 iwhindi                  hihmong                  hmnhungarian              huicelandic              isigbo                   igindonesian             idirish                  gaitalian                itjapanese               jajavanese               jwkannada                knkazakh                 kkkhmer                  kmkorean                 kokurdish (kurmanji)     kukyrgyz                 kylao                    lolatin                  lalatvian                lvlithuanian             ltluxembourgish          lbmacedonian             mkmalagasy               mgmalay                  msmalayalam              mlmaltese                mtmaori                  mimarathi                mrmongolian              mnmyanmar (burmese)      mynepali                 nenorwegian              nopashto                 pspersian                fapolish                 plportuguese             ptpunjabi                paromanian               rorussian                rusamoan                 smscots gaelic           gdserbian                srsesotho                stshona                  snsindhi                 sdsinhala                sislovak                 skslovenian              slsomali                 sospanish                essundanese              suswahili                swswedish                svtajik                  tgtamil                  tatelugu                 tethai                   thturkish                trukrainian              ukurdu                   uruzbek                  uzvietnamese             viwelsh                  cyxhosa                  xhyiddish                yiyoruba                 yozulu                   zu=====================  ============Installation================================================================================You can install bendihua via pip:.. code-block:: bash$ pip install bendihuaor clone it and install it:.. code-block:: bash$ git clone https://github.com/chfw/bendihua.git$ cd bendihua$ python setup.py installLicense================================================================================MITMIT LicenseCopyright (c) 2017Permission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in allcopies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THESOFTWARE.Change log===========0.0.2 - 10.12.2017--------------------------------------------------------------------------------Update project name0.0.1 - 10.12.2017--------------------------------------------------------------------------------Initial version. Translate your i18n locale file in many other languages