All Projects → izimobil → polib

izimobil / polib

Licence: MIT License
Pure python library to manipulate, create, modify gettext files (pot, po and mo files).

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to polib

Ngettext
A cross-platform .NET implementation of the GNU/Gettext library.
Stars: ✭ 172 (+405.88%)
Mutual labels:  i18n, l10n, gettext
Gotext
Go (Golang) GNU gettext utilities package
Stars: ✭ 292 (+758.82%)
Mutual labels:  i18n, l10n, gettext
stone.js
gettext-like client-side Javascript Internationalization Library
Stars: ✭ 20 (-41.18%)
Mutual labels:  i18n, l10n, gettext
msgtools
Tools for Developing Diagnostic Messages
Stars: ✭ 18 (-47.06%)
Mutual labels:  i18n, l10n, gettext
gettext-extractor
A flexible and powerful Gettext message extractor with support for JavaScript, TypeScript, JSX and HTML.
Stars: ✭ 82 (+141.18%)
Mutual labels:  i18n, l10n, gettext
Node Gettext
A JavaScript implementation of gettext, a localization framework.
Stars: ✭ 175 (+414.71%)
Mutual labels:  i18n, l10n, gettext
wp-l10n-validator
Gettext localization validator for WordPress
Stars: ✭ 17 (-50%)
Mutual labels:  i18n, l10n, gettext
Glotpress Wp
🌍 🌎 🌏 GlotPress is a WordPress plugin to let you set up your own collaborative, web-based software translation tool.
Stars: ✭ 205 (+502.94%)
Mutual labels:  i18n, l10n, gettext
Weblate
Web based localization tool with tight version control integration.
Stars: ✭ 2,719 (+7897.06%)
Mutual labels:  i18n, l10n, gettext
Kotsu
✨ Clean, opinionated foundation for new projects — to boldly go where no man has gone before
Stars: ✭ 48 (+41.18%)
Mutual labels:  i18n, l10n, gettext
lp-loader
Frictionless language packs for Webpack.
Stars: ✭ 14 (-58.82%)
Mutual labels:  i18n, l10n
lisan
🌈i18n, Reimagined! 🚀A blazing fast and super small i18n library for Javascript
Stars: ✭ 85 (+150%)
Mutual labels:  i18n, l10n
arabic-mathjax
Beautiful Arabic Math on all browsers. An extension for MathJax v2.
Stars: ✭ 12 (-64.71%)
Mutual labels:  i18n, l10n
python-fluent
Python implementation of Project Fluent
Stars: ✭ 142 (+317.65%)
Mutual labels:  i18n, l10n
i18n-tag-schema
Generates a json schema for all i18n tagged template literals in your project
Stars: ✭ 15 (-55.88%)
Mutual labels:  i18n, l10n
banana-i18n
banana-i18n - Javascript Internationalization library
Stars: ✭ 61 (+79.41%)
Mutual labels:  i18n, l10n
oojs-ui
OOUI is a modern JavaScript UI library with strong cross-browser support. It is the standard library for MediaWiki and Wikipedia. This is a mirror from https://gerrit.wikimedia.org. Main website:
Stars: ✭ 45 (+32.35%)
Mutual labels:  i18n, l10n
i18n
internationalize projects to Arabic
Stars: ✭ 67 (+97.06%)
Mutual labels:  i18n, l10n
vue-example
Vue.js example application (server-side rendering, router, vuex store, form validation, i18n & l10n)
Stars: ✭ 62 (+82.35%)
Mutual labels:  i18n, l10n
go-locale
GoLang library used to retrieve the current locale(s) of the operating system.
Stars: ✭ 16 (-52.94%)
Mutual labels:  i18n, l10n

polib

Pypi version Pypi downloads Travis build codecov-image Documentation Status Python versions

Overview

polib is a library to manipulate, create, modify gettext files (pot, po and mo files). You can load existing files, iterate through it's entries, add, modify entries, comments or metadata, etc... or create new po files from scratch.

polib supports out of the box any version of python ranging from 2.7 to latest 3.X version.

polib is pretty stable now and is used by many opensource projects.

The project code and bugtracker is hosted on Github.

polib is generously documented, you can browse the documentation online, a good start is to read the quickstart guide.

Installation

Just use pip:

$ pip install polib

Basic example

import polib

pofile = polib.pofile('/path/to/pofile.po')

for entry in pofile:
    print(entry.msgid, entry.msgstr)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].