Hello Sujan, Thank you for your response, I will have to do more reading as I am new to Pootle, so not sure if I am using a “template” or not. Question: Are you manually merging the completed language files back into Git? We are still thinking through this, but are leery of automating the merge back into Git. Thank you again for the help in getting going.
Kind Regards, Robert Von: sujan karanjeet [mailto:sujan54...@gmail.com] Gesendet: Wednesday, July 08, 2015 8:37 PM An: Robert Williams Cc: translate-pootle@lists.sourceforge.net Betreff: Re: [translate-pootle] translating localization files used in online code Hi Robert, You'll need to create some workflow first. I've been doing something similar which might help you. I've created scripts for synchronizing the template files with the repository. (I guess you are already using the templates :) ). But anyways I'll tell you briefly about my scripts. 1. Update Script - Runs once a day to check if the repository has been updated or not. * Check the diff between the current template and the latest file from the repository. * Update the template file if there's any change. * Synchronize the pootle database using some pootle commands. Example: * pootle refresh_stats --project=XXX --language=template (Rescan the template file to get the latest file) * pootle update_against_templates --project=XXX --language=fr (Update the language files against the recently updated template) 2. Download Script - This script is run when the translations are done. It synchronizes the pootle database to the files on the disk (written to the disk) * pootle sync_stores (Synchronizes all the translated strings to the disk) * Create a zip of all the translated files and download it. Cheers, Sujan On Wed, Jul 8, 2015 at 5:53 PM, Robert Williams <robert.willi...@stimme-der-hoffnung.de<mailto:robert.willi...@stimme-der-hoffnung.de>> wrote: Hello, We have setup a Pootle server for translation of localization files (.xlf format). These files are used by our backend code to provide localized text on the frontend of a website. Our code, including the language files, is under Git. I am trying to develop a process where the language files are checked into a Git repository by the developer, the language files are moved from Git to the Pootle server. Once the translation is completed on the Pootle server, the files can be moved back into Git. Would like to automate this as much as possible. Has anyone done something similar to this? I am new to Pootle, so do not know what is available, so am reading through the documentation. From our "About this Pootle Server" Link: Pootle 2.6.0-rc2 is powered by Translate Toolkit 1.13.0. Thank you, Robert Williams B.S. Web-Development STIMME DER HOFFNUNG Adventist Media Center Sandwiesenstr. 35 D - 64665 Alsbach-Haehnlein Tel: +49 (0) 62 57 - 5 06 53-18 Fax: +49 (0) 62 57 - 5 06 53-70 E-Mail: robert.willi...@stimme-der-hoffnung.de<mailto:robert.willi...@stimme-der-hoffnung.de> STIMME DER HOFFNUNG e.V. VR 1293, Amtsgericht Darmstadt Steuer-Nr. 007 250 80653 Ust-ID: DE111671780 www.bibelstudien-institut.de<http://www.bibelstudien-institut.de> www.bibelinfo.de<http://www.bibelinfo.de> www.hope-channel.de<http://www.hope-channel.de> www.ichwillleben.eu<http://www.ichwillleben.eu> www.stimme-der-hoffnung.de<http://www.stimme-der-hoffnung.de> ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ Translate-pootle mailing list Translate-pootle@lists.sourceforge.net<mailto:Translate-pootle@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/translate-pootle -- Regards, ---------------------- Sujan Karanjeet ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ Translate-pootle mailing list Translate-pootle@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/translate-pootle