Last post May 15, 2007 05:11 AM by swaino
May 08, 2007 11:30 AM|swaino|LINK
I have a dual-language site (English/Slovakian). I would like to test that the translations on the page are working correctly without having to run the project.
Surely if I set the UI culture or culture setting on the page, it should pull the correct translations out of the appropriate .resx file.
However, even when I set the culture to sk-SK instead of en-GB on the page, I still see the english text in the page in preview mode.
I know this works ok when I run the project (in the code I switch languages on the current thread), but there are certain error messages I want to see translated ok, instead of having to run through all the possible error paths.
May 08, 2007 01:17 PM|vivek_iit|LINK
How are you changing the culture? In what method?
May 09, 2007 04:10 AM|swaino|LINK
I am changing it in the Document properties in the Properties box inside Visual Studio.
May 15, 2007 02:01 AM|vivek_iit|LINK
AFAIK changing the document culture properties will not help unless you change the culture of the currently executing thread.
Hope this helps,
May 15, 2007 05:11 AM|swaino|LINK