View Full Version : resource filename when changing locales
stephenro
06-30-2005, 05:50 PM
Does anyone know what I have to name my resx file to load another language. I have a default .resx file that works and I have code as per the docs that switches the locale to fr-CA. Do I need a second resx file? and what do I name it?
Thanks
Aleks Seovic
07-04-2005, 10:22 AM
It's somewhat counterintuitive, but you need to replace 'aspx' or 'ascx' in the name of the default resource file with the locale name.
So if you have following files:
MyPage.aspx
MyPage.aspx.resx
you need to create a file called:
MyPage.fr-CA.resx
for your french canadian resources.
HTH,
Aleks
vBulletin® v3.7.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.