Description
If you use content localization solution "Localization Extensions" , for switching to similar (associative) language page (without dropping to home page) you can use module "LE_Laborion_LanguageSelector", including language selector control and its management.
Management includes:
- Change of native names and order of languages
- Management of associative pages sets
Module install
Installed same as module LocalizationExtensions , i.e. after installing you put it on any page and then can use "Add to Admin Menu" option to add as admin point menu .
Adding Control to Skin
Open your skin for editing ( .ascx ) and find instructions
<%@ Register ...
and add a new one
<%@ Register TagPrefix="LE" Namespace="Adequation.DNN.LocalizationExtensions.Laborion" Assembly="Adequation.DNN.LocalizationExtensions.Laborion" %>
Further you can put the language selector into the place you want
<LE:Laborion_LanguageSelector id="Laborion_LanguageSelector" runat=server />
(If you use DNN language selector (<dnn:LANGUAGE..) then you replace it)
Also you can set properties :
- LanguageLabelCssClass - CSS Class for language label ("Language: ")
- LanguageLinkCssClass - CSS Class for language link
- SelectedLanguageLinkCssClass - CSS Class for selected (current) language link
- Separator - Languages separator
- HasSelectedLanguageLink - Has the selected language the link ? "true" , "false" (default:false)
- AreCountryFlagsToBeUsed - Are Country's Flags To Be Used ? "true" , "false" (default:false)
- IsSelectedLanguageViewed - Is the selected language viewed ? "true" , "false" (default:"true")
- AddAlternateLink - Do add Google link alternate: rel="alternate" hreflang="x" ? "true" , "false" (default:"true")
Example:
<LE:Laborion_LanguageSelector id="Laborion_LanguageSelector" LanguageLinkCssClass="user" Separator=" | " runat=server />
Management
After control is set to skin you can begin to manage it by opening the "LE Laborion LanguageSelector" configuration page with simple interface.
Example 1

Example 2

If you have questions you ask them here => Support