[[PageOutline(2-5,Contents,pullout)]] = Managing translation of your source code {{{#!box info '''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: - Java [wikipedia:Java_resource_bundle resource bundle], ''currently the main goal''. - GNU [wikipedia:Gettext Gettext] (Portable Objects - PO), used for Python, C. === 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 [report:9?COMPONENT=TranslationManagerPlugin here]. If you have any issues, create a [/newticket?component=TranslationManagerPlugin new ticket]. [[TicketQuery(component=TranslationManagerPlugin&group=type,format=progress)]] == Download Download the zipped source from [export:translationmanagerplugin here]. == Source You can check out TranslationManagerPlugin from [/svn/translationmanagerplugin here] using Subversion, or [source:translationmanagerplugin browse the source] with Trac. == Installation General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. == Configuration Add the following to your `trac.ini` file: {{{#!ini [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 [[ChangeLog(translationmanagerplugin, 3)]] == !Author/Contributors **Author:** [wiki:framay] [[BR]] **Maintainer:** [[Maintainer]] [[BR]] **Contributors:**