the globalization tag is set to correctly culture="en-US" uiculture="en"
You need to set the uiculture attribute to en-US, because culture is not used for resource look ups. The culture attribute used formatting numbers, currency and so on, uiculture only for resource lookups.
Marked as answer by eyherabideg on Dec 13, 2012 12:30 PM
eyherabideg
Member
21 Points
16 Posts
Resources Files doesn't work
Dec 06, 2012 06:27 PM|LINK
Hi, i'm making an application multilanguage, i have 2 resources files, the default one .RESX , and another for in english
the problem is, if i set the name of the english one with the culture en-US.resx it doesn't work,
the only way i could make it work was deleting the culture -US (.en.resx )
the globalization tag is set to correctly culture="en-US" uiculture="en"
Any ideas ??
Milind986
Participant
766 Points
161 Posts
Re: Resources Files doesn't work
Dec 07, 2012 04:30 AM|LINK
Check out this link http://dcodeplanet.wordpress.com/2012/01/08/globalisation-localization-with-asp-net/
My Blog
eyherabideg
Member
21 Points
16 Posts
Re: Resources Files doesn't work
Dec 07, 2012 01:09 PM|LINK
Hi, thanks a lot for your reply.. i've done all that, but using explicit localization,
the problem is that the resource file .en.resx works but .en-US.resx doesn`t... i don't understand why!
do you have a clue what might be wrong ??
stmarti
Contributor
4963 Points
1036 Posts
Re: Resources Files doesn't work
Dec 12, 2012 08:32 PM|LINK
You need to set the uiculture attribute to en-US, because culture is not used for resource look ups. The culture attribute used formatting numbers, currency and so on, uiculture only for resource lookups.