separating data from text in the .wml files
I'd like a standard way for us to separate data from text in the .wml files.
Data is defined here as information that may be updated frequently and can
be represtented in a language neutral way. This will enable us to make
more changes to the pages without a page requiring a new translation.
My proposal is quite simple: any page which could benefit from this,
file.wml, will have a file in the corresponding english directory, called
file.data, that will contain the data. All versions of file.wml simply
#include the .data file. If people approve, then anyone interested
can state their intention of modifying a file to debian-www and we
can get started on this. To see an example of this in action take a
look at english/distrib/vendors.*.
If I have time later today I'll do this for devel/HOWTO_translate.wml as
it will be a much simple example.
The only complication I forsee is getting all the dependencies in the
Makefiles. The easiest way I can think of is to add all the dependencies
to <lang>/Make.dep.templ. If anyone has any better ideas for doing this
let's hear them.
Jay Treacy
Reply to: