On Tue, 16 Mar 2010 10:00:43 +0800 Bernard Chan <[email protected]> wrote:
> Amos Jeffries 提到: > >> * Translations files do not reflect current state of translations > >> automatically. Now that translations live mostly in the database > >> the translations files under the po/ directory do not get updated > >> on every translation. Translations get saved to file by demand > >> when you download them from the web only. there is an optional > >> localsettings.py variable AUTOSYNC that forces translations to be > >> saved immediately (same behavior as always) but it has a negative > >> effect on performance and should only be used if you have other > >> applications or scripts that need to access the files directly. > >> > >> > > > > Possible problem for us. > > Is it possible to make the sync happen automatically at configurable > > intervals please? > > > > > > Hi Everybody, > > Ditto. Agree that writing to database is far more efficient compared > with POs. > > Currently we need to rely on a Make build that involves rsync/scp to > copy the POs to local environment for post-processing and deployment. > There is no manual download from Web going on here. I think we need > a command or something that allows Pootle to generate a checkout copy > or trigger the PO update, then that will be ideal without having to > go back to AUTOSYNC. > > And, will there be any improvement in speed with update from > templates? Currently it takes half a minute for a language with us. > They are not really big files and I have python-levenshtein installed. no we did not change anything in update from template, in fact it might be slightly slower now since it is done first to files and then result is reparsed into database. will see if we can improve it. how big are these files? are they publicly available? cheers, Alaa ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Translate-pootle mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/translate-pootle
