Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...Localization does not pick up <control>.ascx.fr.resxLocalization does not pick up <control>.ascx.fr.resx
Previous
 
Next
New Post
2/24/2010 10:20 AM
 

Hi all,

I am new to DotNetNuke, I created a module which is working fine but now I’m trying to make it bilingual.
In webconfig.config I have:
<globalizationculture="auto"uiCulture="auto"requestEncoding="UTF-8"responseEncoding="UTF-8" fileEncoding="UTF-8"/>
 
The label I am trying to work with is.
 
<asp:Label ID="lblAgree" resourcekey="lblAgreeResource" runat="server" Text='Please type "I AGREE" in the box below <br />to confirm your agreement to the:'></asp:Label>
 
I have two files in App_LocalResources
1.     Signin.ascx.fr.resx
2.     Signin.ascx.resx
Inside the files I have only one resource key lblAgreeResource.Text
This works only for English, when in IE I change the preference to French (Canada) [fr-CA] nothing happens and I still see the English text.
I tried changing the files name to Signin.ascx.fr-CA.resx but no luck.
Do you know what I am doing wrong? I can provide more information
in dotnetnuke site settings do i need to add French Canada (fr-CA) as a locale languange?
Thank you
 
 
New Post
2/24/2010 4:54 PM
 
please use the language editor in admin menu to install a language pack or add a language and provide translations. keep your hands off web.config ;)

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...Localization does not pick up <control>.ascx.fr.resxLocalization does not pick up <control>.ascx.fr.resx


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out