# i18n
Lightweight simple translation JavaScript module \'i18n\' in Python implementation.
## Install
Please note that simple-i18n depends on module 'pystache' and 'watchdog'.
They will be automatically installed before pip installing simple-i18n.
```sh
pip install simple-i18n
```
---
## Synopsis
```py
from simple-i18n import I18n
options = ...
i18n = I18n(options)
i18n.__('Hello %s', 'Marcus') # -> Hello Marcus
```
---
## Usage
For detailed usage, please refer to <https://www.npmjs.com/package/i18n>
---
Raw data
{
"_id": null,
"home_page": "https://github.com/iDkGK/simple-i18n",
"name": "simple-i18n",
"maintainer": "iDkGK",
"docs_url": null,
"requires_python": "",
"maintainer_email": "1444807655@qq.com",
"keywords": "i18n,gettext,translation",
"author": "iDkGK",
"author_email": "1444807655@qq.com",
"download_url": "https://files.pythonhosted.org/packages/f3/57/c278f4b795c5a2dec756d714d81077e8afd0bf411368491e76a988663d10/simple-i18n-0.1.2.tar.gz",
"platform": "MacOS X",
"description": "# i18n\r\n\r\nLightweight simple translation JavaScript module \\'i18n\\' in Python implementation.\r\n\r\n## Install\r\n\r\nPlease note that simple-i18n depends on module 'pystache' and 'watchdog'. \r\nThey will be automatically installed before pip installing simple-i18n.\r\n\r\n```sh\r\npip install simple-i18n\r\n```\r\n\r\n---\r\n\r\n## Synopsis\r\n\r\n```py\r\nfrom simple-i18n import I18n\r\n\r\noptions = ...\r\n\r\ni18n = I18n(options)\r\n\r\ni18n.__('Hello %s', 'Marcus') # -> Hello Marcus\r\n```\r\n\r\n---\r\n\r\n## Usage\r\n\r\nFor detailed usage, please refer to <https://www.npmjs.com/package/i18n>\r\n\r\n---\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "",
"version": "0.1.2",
"project_urls": {
"Homepage": "https://github.com/iDkGK/simple-i18n"
},
"split_keywords": [
"i18n",
"gettext",
"translation"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f357c278f4b795c5a2dec756d714d81077e8afd0bf411368491e76a988663d10",
"md5": "7f1dce2cc6e256993f63cc9afd8f90e1",
"sha256": "987a39c8820c0b925f490a485449c9737e5fb3110167d49410ae57a9ef0312cd"
},
"downloads": -1,
"filename": "simple-i18n-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "7f1dce2cc6e256993f63cc9afd8f90e1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 13017,
"upload_time": "2023-05-15T15:20:12",
"upload_time_iso_8601": "2023-05-15T15:20:12.748437Z",
"url": "https://files.pythonhosted.org/packages/f3/57/c278f4b795c5a2dec756d714d81077e8afd0bf411368491e76a988663d10/simple-i18n-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-15 15:20:12",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "iDkGK",
"github_project": "simple-i18n",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "pip",
"specs": []
},
{
"name": "pystache",
"specs": []
},
{
"name": "setuptools",
"specs": []
},
{
"name": "watchdog",
"specs": []
}
],
"lcname": "simple-i18n"
}