> On Tue, 2006-11-28 at 14:44 +0100, Lluis Sanchez wrote:
> > I find this localization method a bit complex, but
I don't know enough
> > about intltool to know if there is a better way.
Maybe scottell has
> > something to say about it?
>
> I would probably just put the strings in the actual
code and pass them
> into the xsl as variables like I do the recent
projects.
>
> Scott
The only down side I see with doing it straight in the code
is that you have
to add an Xslt parameter for each string you want to
translate in the C# as
well as the xslt, before you would be able to reference it
from within the
xslt.
This is not the case with using the xml document to store to
the content.
With the content declared and stored in the xml it means
less maintenance
when adding or changing content. Instead of having to add
parameters to the
C# and Xsl, you would only have to add more elements to the
content xml
document.
___________________________________________________________
Yahoo! Photos – NEW, now offering a quality print service
from just 7p a photo http://uk.photos.yahoo.com
_______________________________________________
Monodevelop-list mailing list
Monodevelop-list lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-li
st
|