Language Selector List

  0 rating
CMS
7/28/2018 9:01:01 AM
10/17/2018 12:31:48 AM
Provider: Valtech

About

“Language Selector List” is a Multilist type field which is built on Sitecore 8.2, once installed you can use this field type which enables you to select from the available language versions for that Site where that field has been used instead of displaying all languages from sitecore/system/Languages.


Please feel free to reach out to me at for any comments /issues/ and any requests.

Documentation

Documentation
  • Documentation > <span style="font-size: 12px; background-color: rgb(248, 248, 248);"> </span><span style="font-size: 12px; background-color: rgb(248, 248, 248);">Description of the entire module</span>
    Description

    We sometimes come across the requirements where we have to select from the available languages versions which has been added to the context site.


    For example- there could be total 10 languages under system languages folder and out of 10 say only 3 languages has been added to specific site (multi-lingual).


    For instance we work on any module where we need to select only few languages from the total languages available for that site (multi-lingual), we don’t have any specific field type that can populate site specific languages out of the box, one example could be language switcher component where content authors wants to show only 2 languages to end users even for that site 3 language versions exists.


    This modules helps to solve the same issue- and populates dynamically all language versions available for that site, it doesn’t populates all the languages from system languages instead take only those language versions which has been added as part of context site(based on different language versions available for home page).


    This assumes that language versions that has been added to home page will be available to other inner pages as well.


    In case of multisite setup, this custom field type has taken habitat site as a reference and expects rootPath value to be unique for all sites added to the same instance.


    0
Back
Release notes
This package installs the following to your Sitecore instance:- 
     
\bin\ Sitecore.SharedSource.LanguageSelectorList.dll
\ App_Config\Include\Foundation\ Sitecore.SharedSource.CustomFields.LanguageSelectorList.config

And adds the following item to your Core DB to add the new
custom field to your database: - /sitecore/system/Field types/Custom Field
Types/Language Selector List

After installation, “Language Selector List” will be available as an option in the Sitecore Field Types (Custom Field Types) - while adding a field to any template.

Note: The source of this field type should be set to “/sitecore/system/Languages”.
Read more Back
Code examples

Solution screenshots(0)

Upload

Reviews (0)

Sort by: Date Most votes
  • Profile Avatar
    [fullName]

    Level: 0

    x0 x0 x0

    [date]

    [title]

    [text]

    Was this helpful?

    0

Comments (0)

Sort by: Date  Most votes

Leave a Comment

Comment must be field in
Post comment
loader

Write a review

Title can't be empty
Review can't be empty
Post review

Download

Title Description Download Action

Add File