[[PageOutline(2-5,Contents,pullout)]] = 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: - Java [http://en.wikipedia.org/wiki/Java_resource_bundle resource bundle], ''currently the main goal'' - [http://en.wikipedia.org/wiki/Gettext GNU Gettext] (Portable Objects - PO), used for Python, C === Specification At first step it is intended for Java's [http://en.wikipedia.org/wiki/Java_resource_bundle 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 `trac.ini` file, which files (possibly with an asterix as a wilcard) 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 [http://trac-hacks.org/newticket?component=TranslationManagerPlugin&owner=framay 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 [http://trac-hacks.org/svn/translationmanagerplugin here] using Subversion, or [source:translationmanagerplugin browse the source] with Trac. == Installation ''The plugin is currently in beta test phase.'' == Configuration {{{#!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:**