wiki:TranslationManagerPlugin

Managing translation of your source code

Description

The plugin is currently in beta test phase. Currently it only works for Java resource bundle files (properties files).

The goal of this Trac plugin is to manage translations of your source code for different languages.

The objective is to support different file formats such as:

Specification

At first step it is intended for Java's resource bundle files; thus in this text only resource bundles / properties files are used. As there is a similar logic to Portable Objects (PO) it should be possible to adapt all requirements to them too.

The idea is to use properties files from subversion control, such as SVN. It should be parametrized in your trac.ini file, which files (possibly with an asterix as a wildcard) should be editable. These files should be displayed as a table like:

Key English Deutsch
Common.German German Deutsch
Common.Cancel Cancel Abbrechen

Workflow

When saving translations it should be committed to subversion control (when permissions are sufficient, e.g. as developer) or a diff / patch file should be created. This patch file should be stored at a specific place with a comment, so developers can review them and then adopt them by committing to version control.

Needed Permissions

TM for TranslationManager

Permission Used for
TM_VIEW only viewing translations
TM_EDIT edit translations and submitting to SVN
TM_IMPORT import from file
TM_EXPORT export to file
TM_ADMIN (missing) all above

Bugs/Feature Requests

Existing bugs and feature requests for TranslationManagerPlugin are here.

If you have any issues, create a new ticket.

defect

1 / 2

enhancement

0 / 1

Download

Download the zipped source from here.

Source

You can check out TranslationManagerPlugin from here using Subversion, or browse the source with Trac.

Installation

The plugin is currently in beta test phase.

General instructions on installing Trac plugins can be found on the TracPlugins page.

Configuration

Add the following to your trac.ini file:

[translationmanager]
checkout_folder = /var/local/transman/checkout
default_comment = {function} von Trac Translationmanager
destination_descriptions = Webapp
destination_folders = /path/to/webapp
svn_password = svn_pwd
svn_repository = /SVN_Repo_Name
svn_url = http://svn_server_name_or_ip/svn
svn_username = svn_user

Recent Changes

14569 by framay on 2015-05-08 15:07:58

new version 0.1.2:

  • fixed: TM looses all session information (see #12181)
  • import: added check for consistency of import file
  • performance: property files are loaded into object
14414 by framay on 2015-02-05 14:38:06

setting version to 0.1.1:

  • renamed and reorganized options
  • removed commented code (cleanup)
14413 by framay on 2015-02-05 10:57:49
initial version of translationmanagerplugin based on the Bachelor thesis of Barbara Streppel
(more)

Author/Contributors

Author: framay
Maintainer: Franz
Contributors:

Last modified 11 months ago Last modified on Jan 21, 2016, 10:43:58 PM