[TYPO3-dev] EM translations

Steffen Kamper info at sk-typo3.de
Fri Jul 25 16:33:37 CEST 2008


Martin Kutschker schrieb:
> Hi!
> 
> Is the following description true:
> 
> The EM loads a zip file for a given package in a certain language into
> typo3temp. This will be extracted into typo3conf/l10. When the user
> requests new translations, the EM will look if it has a zip file, will
> NOT download a new translation, and will simply say "OK".
> 
> If this is true, then this not very good. First of all, the EM only has
> the message "ERR" and "OK" beside "Could not fetch translation status"
> (whatever that means). It should have messages like: "no translation
> available", "translation is up-to-date" (no file fetched!), "could not
> fetch translation" (an error has occurred).
> 
> Anyway, there seems to be missing a way to tell if the translation
> server has a newer (or at least different) version of the translation.
> So in typo3conf/l10 there should be an info file that contains a time
> stamp and a MD5 hash of the fetched zip file (may be the file size and
> the date of the last fetch as well).
> 
> This info files allows us to compare against the current version on the
> translation server. Additionally that allows us to get rid of the zip
> files in the typo3temp.
> 
> Any comments?
> 
> Masi

Hi Masi,

good idea! EM could fetch a small xml containing packages with date and 
MD5-hash for compare.
This part of EM is one of the irretating parts, IIRC you have to delete 
the files to fetch new ones, which is very bad for practise.

vg Steffen




More information about the TYPO3-dev mailing list