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...Replace flags with textReplace flags with text
Previous
 
Next
New Post
11/12/2012 1:11 PM
 

Is there a way to change flags to text? I figured to just insert text and link English/Spanish manually to the home pages of each language, but I want to keep  the feature that allows you to stay on the same page you which to translate?

I remember there was a dropdown before, but I want it to show both languages in a link instead.

Thanks,

 
New Post
11/13/2012 3:08 AM
 
I suggest using Apollo MLLanguageSelector from codeplex or Interzoic Language Selector.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/13/2012 10:48 AM
 

Thank you. I've installed the extension and it's pretty helpful but I can only use it in defined skin panes. How can I insert it in specific position modifying code in .aspx file?

I want to locate it exactly where the core DNN selector usually is, where the [dnn:language] token is located. Is this possible with extensions?

 
New Post
11/14/2012 4:37 AM
 

This is also possible with the default language selector using the item template and don't forget the activeitem template or else you will have text and image. I always set the alternating item same as item template to prevent unwanted layout if more languages are added afterwards

 

<dnn:LANGUAGE ID="dnnLANGUAGE" runat="server" CssClass="no" ItemTemplate='<li><a href="[URL]" title="[CULTURE:NATIVENAME]">[CULTURE:TWOLETTERISOCODE]</a></li>'<br>                SelectedItemTemplate='<li class="active"><a href="[URL]" title="[CULTURE:NATIVENAME]">[CULTURE:TWOLETTERISOCODE]</a></li>' AlternateTemplate='<li><a href="[URL]" title="[CULTURE:NATIVENAME]">[CULTURE:TWOLETTERISOCODE]</a></li>'<br>                ShowLinks="True" ShowMenu="False" CommonHeaderTemplate="<ul class='lang'>" CommonFooterTemplate="</ul>" /><br><br><br> 

 
New Post
11/14/2012 11:36 AM
 

Thanks Armand,

I don't really understand much about the item template thing. Can you please elaborate more on that? I placed your code in the desired space for language selector and it basically changed my whole template to DNN default with a lot of errors. I'm not much of a programmer, so I'm not sure which part broke the code.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...Replace flags with textReplace flags with text


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