Manifest: CoreLanguage Component

Return to previous page

  • 4/7/2015
  • 1222 Views

Comments

1222 Views

Manifest: CoreLanguage Component

Last updated 5 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
Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out