Products

Solutions

Learn More

Partners

Community

Blog

About

Manifest: ExtensionLanguage Component

Return to previous page

  • 4/7/2015
  • 1697 Views

Comments

1697 Views

Manifest: ExtensionLanguage Component

Last updated 6 years 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
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.  

What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out