Products

Solutions

Resources

Partners

Community

Blog

About

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!

Manifest: CoreLanguage Component

Return to previous page

  • 4/7/2015
  • 2409 Views

Comments

2409 Views

Manifest: CoreLanguage Component

Last updated 7 years ago

Comments

Common

(Enter the content of this article below)

Advanced

 
The CoreLanguage component defines a Core language pack for DotNetNuke.

The CoreLanguage Component inherits from the File Component and uses a similar syntax.

Elements and attributes

<component type="CoreLanguage">

<languageFiles>
<code></code>
<displayName></displayName>
<fallback></fallback>
<languageFile>
<path></path>
<name></name>
</languageFile>
</languageFiles>
</component>

  • code: the RFC 1766 code for the language (see the .NET CultureInfo class for more information)
  • displayName: the name of the language
  • fallback: code for the fallback language. This language will be used when searching for a resource not found in the current language pack
  • languageFile: defines all files that are part of this language pack. The path is relative to the root of the installation.

Sample

The following sample shows a part of the core language pack for Catalan:

<component type="CoreLanguage">

<languageFiles>
<code>ca-ES</code>
<displayName>Catala (España)</displayName>
<fallback>en-US</fallback>
<languageFile>
<path>admin\ControlPanel\App_LocalResources</path>
<name>classic.ascx.ca-es.resx</name>
</languageFile>
<languageFile>
<path>admin\ControlPanel\App_LocalResources</path>
<name>iconbar.ascx.ca-es.resx</name>
</languageFile>
...
</languageFiles>
</component>

References


Contents
No sections defined
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out