Skip to main content

Software Localization Tool.

Project description

Documentation Status https://travis-ci.org/MacHu-GWU/loc-project.svg?branch=master https://codecov.io/gh/MacHu-GWU/loc-project/branch/master/graph/badge.svg https://img.shields.io/pypi/v/loc.svg https://img.shields.io/pypi/l/loc.svg https://img.shields.io/pypi/pyversions/loc.svg https://img.shields.io/badge/STAR_Me_on_GitHub!--None.svg?style=social
https://img.shields.io/badge/Link-Document-blue.svg https://img.shields.io/badge/Link-API-blue.svg https://img.shields.io/badge/Link-Source_Code-blue.svg https://img.shields.io/badge/Link-Install-blue.svg https://img.shields.io/badge/Link-GitHub-blue.svg https://img.shields.io/badge/Link-Submit_Issue-blue.svg https://img.shields.io/badge/Link-Request_Feature-blue.svg https://img.shields.io/badge/Link-Download-blue.svg

Welcome to loc Documentation

loc is a library that simplify the software localization.

Usage:

>>> from loc import LocDict
>>> data = [
        {"en-US": "Yes", "zh-CN": "是"},
        {"en-US": "No", "zh-CN": "否"},
    ]

>>> ld = LocDict(data=data)
>>> ld.trans_to("Yes", dst_loc="zh-CN")

Install

loc is released on PyPI, so all you need is:

$ pip install loc

To upgrade to latest version:

$ pip install --upgrade loc

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

loc-0.0.2.tar.gz (12.2 kB view hashes)

Uploaded Source

Built Distribution

loc-0.0.2-py2.py3-none-any.whl (20.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page