List Info

Thread: a patch to solve i18n problems in templated publications




a patch to solve i18n problems in templated publications
user name
2006-06-23 08:50:24
hi everyone!


yeah, me sending a patch to the list again. but it's short,
and i hope 
somebody gets annoyed enough to apply it 

for ages i have had problems with i18n in publications
derived from a 
template. the catalog files are not properly found, and the
merging of 
derived catalog and template catalog did not work too well
either.

to fix this, i cobbled together the attached patch (which is
also in 
bugzilla http://issues.apache.org/bugzilla/show_bug.cgi?id=38413).

with this patch, a catalog from a derived publication will
be correctly 
merged with its parent's catalog and with the core catalog.

note: it changes the location of the publication catalog
from 
lenya/resources/i18n to resources/i18n. i felt that for a
standard 
feature such as i18n, having to explicitly overload core
code (which is 
implied by using the lenya/ dir) is semantically wrong.

please review and apply. i'm not sure it's 100% correct,
but it's at 
least twice as correct as the current i18n sitemap code 


regards,

jörn


-- 
"Open source takes the bullshit out of
software."
	- Charles Ferguson on TechnologyReview.com

--
Jörn Nettingsmeier, EDV-Administrator
Institut für Politikwissenschaft
Universität Duisburg-Essen, Standort Duisburg
Mail: pol-adminuni-due.de, Telefon: 0203/379-2736
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )