{ "info": { "author": "C.W.", "author_email": "wangc_2011@hotmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Office/Business", "Topic :: Software Development :: Libraries", "Topic :: Utilities" ], "description": "================================================================================\nbendihua - \u672c\u5730\u5316 - \u0938\u094d\u0925\u093e\u0928\u0940\u092f\u0915\u0930\u0923 - \u043b\u043e\u043a\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f - Lokalisierung - Localiza\u00e7\u00e3o - localize\n================================================================================\n\n.. image:: https://travis-ci.org/chfw/bendihua.svg?branch=master\n :target: http://travis-ci.org/chfw/bendihua\n\n.. image:: https://codecov.io/gh/chfw/bendihua/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/chfw/bendihua\n\n\nUsage\n================================================================================\n\nGiven your locale as en.json::\n\n {\n \"ui-button\": \"hello world\"\n }\n\nYou run: `bdh en.json -d zh-cn` and will get `output-zh-cn.json` as::\n\n {\n \"ui-button\": \"\u4f60\u597d\uff0c\u4e16\u754c\u201c\n }\n\nWhat you run `bdh en.json -d hi`? You will get it in `Hindi`::\n\n {\n \"ui-button\": \"\u0928\u092e\u0938\u094d\u0924\u0947 \u0926\u0941\u0928\u093f\u092f\u093e\"\n }\n\nAnd it automatically supports `aurelia-i18n `_\nlocale format.\n\nCommand line options\n--------------------------------------------------------------------------------\n\n::\n usage: bdh [-h] [-d DEST_LANGUAGE] [-o OUTPUT] locale.json\n\n positional arguments:\n locale.json locale dictionary where keys are engineering tokens\n and values are actual user interface words\n\n optional arguments:\n -h, --help show this help message and exit\n -d DEST_LANGUAGE, --dest-language DEST_LANGUAGE\n Destination language short code\n -o OUTPUT, --output OUTPUT\n select a name for the output file. if omitted, output\n name is defaulted to output-{dest-language}.json\n\n\nSupported languages\n--------------------------------------------------------------------------------\n\n===================== ============\nlanguage short code\n===================== ============\nafrikaans af\nalbanian sq\namharic am\narabic ar\narmenian hy\nazerbaijani az\nbasque eu\nbelarusian be\nbengali bn\nbosnian bs\nbulgarian bg\ncatalan ca\ncebuano ceb\nchichewa ny\nchinese (simplified) zh-cn\nchinese (traditional) zh-tw\ncorsican co\ncroatian hr\nczech cs\ndanish da\ndutch nl\nenglish en\nesperanto eo\nestonian et\nfilipino tl\nfinnish fi\nfrench fr\nfrisian fy\ngalician gl\ngeorgian ka\ngerman de\ngreek el\ngujarati gu\nhaitian creole ht\nhausa ha\nhawaiian haw\nhebrew iw\nhindi hi\nhmong hmn\nhungarian hu\nicelandic is\nigbo ig\nindonesian id\nirish ga\nitalian it\njapanese ja\njavanese jw\nkannada kn\nkazakh kk\nkhmer km\nkorean ko\nkurdish (kurmanji) ku\nkyrgyz ky\nlao lo\nlatin la\nlatvian lv\nlithuanian lt\nluxembourgish lb\nmacedonian mk\nmalagasy mg\nmalay ms\nmalayalam ml\nmaltese mt\nmaori mi\nmarathi mr\nmongolian mn\nmyanmar (burmese) my\nnepali ne\nnorwegian no\npashto ps\npersian fa\npolish pl\nportuguese pt\npunjabi pa\nromanian ro\nrussian ru\nsamoan sm\nscots gaelic gd\nserbian sr\nsesotho st\nshona sn\nsindhi sd\nsinhala si\nslovak sk\nslovenian sl\nsomali so\nspanish es\nsundanese su\nswahili sw\nswedish sv\ntajik tg\ntamil ta\ntelugu te\nthai th\nturkish tr\nukrainian uk\nurdu ur\nuzbek uz\nvietnamese vi\nwelsh cy\nxhosa xh\nyiddish yi\nyoruba yo\nzulu zu\n===================== ============\n\n\nInstallation\n================================================================================\n\n\nYou can install bendihua via pip:\n\n.. code-block:: bash\n\n $ pip install bendihua\n\n\nor clone it and install it:\n\n.. code-block:: bash\n\n $ git clone https://github.com/chfw/bendihua.git\n $ cd bendihua\n $ python setup.py install\n\nLicense\n================================================================================\n\nMIT\n\n\nMIT License\n\nCopyright (c) 2017\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\nChange log\n===========\n\n0.0.2 - 10.12.2017\n--------------------------------------------------------------------------------\n\nUpdate project name\n\n0.0.1 - 10.12.2017\n--------------------------------------------------------------------------------\n\nInitial version. Translate your i18n locale file in many other languages\n\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/chfw/bendihua/archive/0.0.2.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/chfw/bendihua", "keywords": "python", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "bendihua", "package_url": "https://pypi.org/project/bendihua/", "platform": "", "project_url": "https://pypi.org/project/bendihua/", "project_urls": { "Download": "https://github.com/chfw/bendihua/archive/0.0.2.tar.gz", "Homepage": "https://github.com/chfw/bendihua" }, "release_url": "https://pypi.org/project/bendihua/0.0.2/", "requires_dist": null, "requires_python": "", "summary": "googletrans command line interface to translate your i18n file into 106 languages", "version": "0.0.2" }, "last_serial": 3406158, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "9fa0ed1cc2315a782c3d6e904c57db31", "sha256": "03ca1228a5d0c15f8b393e2ada6e3d0ba0874c1a44d8fed56c3dab157af2e077" }, "downloads": -1, "filename": "bendihua-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9fa0ed1cc2315a782c3d6e904c57db31", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9997, "upload_time": "2017-12-10T22:51:56", "url": "https://files.pythonhosted.org/packages/1f/3c/2a9e3031085531364f1f8f691ebd6b3cdc1db5ba4b8d25a4b03192b87bde/bendihua-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "edb6e35b52eca823b790a710bab9ea9d", "sha256": "e46880ebb86cb7f48398b4e134fafc19efe9d979d9b6ec9e4b5b15404754870e" }, "downloads": -1, "filename": "bendihua-0.0.2.tar.gz", "has_sig": false, "md5_digest": "edb6e35b52eca823b790a710bab9ea9d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6782, "upload_time": "2017-12-10T22:51:54", "url": "https://files.pythonhosted.org/packages/ff/fb/3c86617a82ccf3cb7939742f57d2cbd9e887ca266a3a42053bf88ae8e3ad/bendihua-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9fa0ed1cc2315a782c3d6e904c57db31", "sha256": "03ca1228a5d0c15f8b393e2ada6e3d0ba0874c1a44d8fed56c3dab157af2e077" }, "downloads": -1, "filename": "bendihua-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9fa0ed1cc2315a782c3d6e904c57db31", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9997, "upload_time": "2017-12-10T22:51:56", "url": "https://files.pythonhosted.org/packages/1f/3c/2a9e3031085531364f1f8f691ebd6b3cdc1db5ba4b8d25a4b03192b87bde/bendihua-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "edb6e35b52eca823b790a710bab9ea9d", "sha256": "e46880ebb86cb7f48398b4e134fafc19efe9d979d9b6ec9e4b5b15404754870e" }, "downloads": -1, "filename": "bendihua-0.0.2.tar.gz", "has_sig": false, "md5_digest": "edb6e35b52eca823b790a710bab9ea9d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6782, "upload_time": "2017-12-10T22:51:54", "url": "https://files.pythonhosted.org/packages/ff/fb/3c86617a82ccf3cb7939742f57d2cbd9e887ca266a3a42053bf88ae8e3ad/bendihua-0.0.2.tar.gz" } ] }