Last post Feb 15, 2009 02:27 AM by MinaSamy
Feb 14, 2009 03:13 PM|MinaSamy|LINK
I use the implicit method (using resource keys) to localize my sitemap file.
in my site i use English and Arabic languages.
the steps i did are as follows:
1-made a global resources file named Web.sitemap.resx. where i defined a resourcekey named str1.Title.
2- I made two files named Web.sitemap.en.resx for English and Web.sitemap.ar.resx for Arabic and foreach i defined str1.Title key.
in the web form in page load the code is like that:
the problem that it works fine when the culture is English but doesn't work for The arabic
so what coud be the problem here ?
Feb 15, 2009 02:27 AM|MinaSamy|LINK
OK Guys I found where my problem was You should use
this.UICulture = "ar-EG";
this.Culture = "ar-EG";
and it works fine