Skip to main content

Manage your PO Translation Files TTW and Sync with Translationservices

Project description

.. This README is meant for consumption by humans and pypi. Pypi can render rst files so please do not use Sphinx features.
If you want to learn more about writing documentation, please check out: http://docs.plone.org/about/documentation_styleguide.html
This text does not appear on pypi or github. It is a comment.

=================
collective.ttwpo
=================

Translations for Plone UI through-the-web (TTW) with option to connect to translation web-services.

Features
--------

- Create an i18n-domain and languages variants TTW (also delete them).
- Add GNU Gettext (``*.po``) files TTW to a language.
- Manage different versions of a GNU Gettext file and set one as current.
- Fetch GNU Gettext files from configured translations services. So far only `Zanata <http://zanata.org/>`_ is supported.

Current Limitations
-------------------

- it is not yet possible to override global, file-system configured (zcml) i18n-domains (see todo).


Configuring a webservice
~~~~~~~~~~~~~~~~~~~~~~~~

For each i18n-domain provide a JSON configuration like so:

::

{
"servicename":"zanata",
"url":"https://zanata.mydomain.com/rest/",
"user":"johndoe",
"token":"abcdef1234567890abcdef1234567890",
"project": "mydemo.project",
"version": "master"
}

The key ``adpater`` is mandatory and used to look a up a named adapter.
All other settings are adapter specific and are passed as-is to the adapter.


Installation
------------

Install collective.ttwpo by adding it to your buildout::

[buildout]

...

eggs =
collective.ttwpo


and then running ``bin/buildout``.

Example using the ``Zanata`` webservice connector::

eggs =
collective.ttwpo[zanata]

After installation activate it in the addons control-panel.
Visit the new ``TTW PO Support`` control-panel.


Todo/ Nice-to-Have
------------------

- Allow single users or groups to manage a language: create/delete/make current/sync.

- Download uploaded PO files.

- If an i18n-domain was already registered global, use their catalogs.
Order: First local catalog, then global catalogs.

- Make upload capability configurable.

- Add Transifex connector.

- Allow environment variables in webservice configuration, which then are replaced.

- If a webservice was configured, sync all languages at once.
Create missing languages.

- GenericSetup import/ export of the whole configuration.


Contributions and Source Code
-----------------------------

.. image:: https://travis-ci.org/collective/collective.ttwpo.svg?branch=master
:target: https://travis-ci.org/collective/collective.ttwpo

.. image:: https://coveralls.io/repos/github/collective/collective.ttwpo/badge.svg?branch=master
:target: https://coveralls.io/github/collective/collective.ttwpo?branch=master

If you want to help with the development (improvement, update, bug-fixing, ...) of ``collective.ttwpo`` this is a great idea!

The code is located in the `GitHub Collective <https://github.com/collective/collective.ttwpo>`_.

You can clone it or `get access to the GitHub Collective <https://collective.github.com/>`_ and work directly on the project.

Maintainers are Jens Klein and the `BlueDynamics Alliance <https://bluedynamics.com/>`_ developer team.

We appreciate any contribution and if a release is needed to be done on pypi, please just contact one of us:
`dev@bluedynamics dot com <mailto:dev@bluedynamics.com>`_

If you are having issues, please let me know:

- File an issue at the `TTWPO Issue Tracker <https://github.com/collective/collective.ttwpo/issues>`_.

- or just write me an email to jens@bluedynamics.com.

This code was initially written for and paid by `Porsche Informatik Gesellschaft m.b.H. <https://www.porscheinformatik.at/>`_, Salzburg.


License
-------

The project is licensed under the GPLv2.

Changelog
=========


1.0b4 (2017-11-15)
------------------

- Initial release.
[jensens]

License
=======

collective.ttwpo
Copyright 2017, BlueDynamics Alliance, Austria, Germany, Switzerland

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License version 2
as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston,
MA 02111-1307 USA.


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

collective.ttwpo-1.0b4.zip (38.5 kB view details)

Uploaded Source

Built Distribution

collective.ttwpo-1.0b4-py2-none-any.whl (33.5 kB view details)

Uploaded Python 2

File details

Details for the file collective.ttwpo-1.0b4.zip.

File metadata

File hashes

Hashes for collective.ttwpo-1.0b4.zip
Algorithm Hash digest
SHA256 1b4aec1525d0dfc0d0ef1ffbe3a25c07e9de8e5916daec10a3ef881ce3bc14a3
MD5 80a78479dcde14c64fb9193c09dd2540
BLAKE2b-256 fae418889cacffadbb7235d1589a4ee2d9dac0c611e84078a15a487796637b5a

See more details on using hashes here.

Provenance

File details

Details for the file collective.ttwpo-1.0b4-py2-none-any.whl.

File metadata

File hashes

Hashes for collective.ttwpo-1.0b4-py2-none-any.whl
Algorithm Hash digest
SHA256 9b1d0e7efede0a8ca88372f185ea425625a1445dab99b869b1d19a436f1f0256
MD5 c6ad68176491bcee55a92a9b377d4081
BLAKE2b-256 45497a98104bf6fc92d185fa317ec005556e7efec3080a8943209941a920607e

See more details on using hashes here.

Provenance

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