wiki:TranslationManagerPlugin

Managing translation of your source code

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

Description

This plugin allows you 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

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

16398 by rjollos on 2017-03-25 09:48:50
Remove dist directories
16394 by rjollos on 2017-03-25 09:20:58
Remove eggs
14569 by framay on 2015-05-08 13: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
(more)

Author/Contributors

Author: framay
Maintainer: Franz
Contributors:

Last modified 8 years ago Last modified on Mar 26, 2017, 1:21:14 PM