Products

Solutions

Resources

Partners

Community

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: ExtensionLanguage Component

Return to previous page

  • 4/7/2015
  • 3929 Views

Comments

3929 Views

Manifest: ExtensionLanguage Component

Last updated long time ago

Comments

Common

(Enter the content of this article below)

Advanced

 
The ExtensionLanguage component defines a language pack for a DotNetNuke extension (module, provider, ...).

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

Elements and attributes

<component type="ExtensionLanguage">

<languageFiles>
<code></code>
<package></package>
<basePath></basePath>
<languageFile>
<path></path>
<name></name>
</languageFile>
</languageFiles>
</component>

  • code: the RFC 1766 code for the language (see the .NET CultureInfo class for more information)
  • package: the name of the package that this language pack refers to
  • basePath: the folder where all the files will be copied, relative to the root of the installation
  • languageFile: defines all files that are part of this language pack. The path is relative to the previously especied basePath.

Sample

The following sample showw the english languagepack for the default DNN authentication provider:

<component type="ExtensionLanguage">

<languageFiles>
<code>en-US</code>
<package>DefaultAuthentication</package>
<basePath>DesktopModules\AuthenticationServices\DNN</basePath>
<languageFile>
<path>app_localresources</path>
<name>Login.ascx.resx</name>
</languageFile>
<languageFile>
<path>app_localresources</path>
<name>Settings.ascx.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