List Info

Thread: Welcome Page Translation




Welcome Page Translation
user name
2006-10-06 20:35:57
> > Please find attached a patch that will allow the
Welcome Page Xslt be
> > translated using the standard
GettextCatalog.GetString method. I have
> > added XsltArgumentList containing an extension
object for the
> > MonoDevelop.Core.GettextCatalog class to the
XslTransform. This allows
> > you to call the GetString method from within the
xslt. I had to change
> > the private constructor for GettextCatalog to
public to implement this
> > solution. I have also changed the xsl to use the
GetString function.
>
> Hey that sounds very interesting Gideon. Does the
intltool-update detect
> then, with this patch applied, the strings of the
WelcomePage? 

The sequence of events in the Welcome Page is:
1. Generate Xml that contains recent project information.
2. Load WelcomePage.xsl into an XslTransform class.
3. Transform the generated Xml into Html using the
XslTransform class.
4. Render the Html in the WelcomePage window.

The patch that I attached will allow the XSLT to get the
translated string
when transforming the xml into html. (Step 3)

Can someone please review and commit the patch I have
attached?

Regards

Gideon de Swardt 


		
___________________________________________________________ 
To help you stay safe and secure online, we've developed the
all new Yahoo! Security Centre. http://uk.security.yahoo
.com
_______________________________________________
Monodevelop-list mailing list
Monodevelop-listlists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-li
st
[1]

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