Products

Solutions

Learn More

Partners

Community

Blog

About

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

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesChange language programmaticallyChange language programmatically
Previous
 
Next
New Post
11/2/2016 1:47 PM
 

Hello everyone,

I have a multilingual site and i'm developing a module where user can select interface language.

I know there is a Language object skin, however I want to create my own language selector so i can filter which languages to show on the language selector depending on the user role. (the idea is to have a dropdown to select by culture code and hide some languages even if they are installed and enabled)

I've been looking at language.ascx.cs from the skin object but i don't understand how it works, what function should I call to change language is the only thing I need to know.

Thanks in advance.

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesChange language programmaticallyChange language programmatically


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.
DNN Launch Webinar
REGISTER NOW
DNN Launch Webinar
REGISTER NOW
DNN Launch Webinar
REGISTER NOW