Loading...

All project content is available for reading, but you need to be a member of the project for Subversion checkout of source code, or to create/modify any information.
Login if you are a member. Apply here to request membership (open to all).

Forse.EPiLang

Simple strongly typed Admin-overrideable globalization texts for EPiServer CMS 6

Features

  • Tracks which language strings are used for page renderings
  • Offers administrators the ability to override these strings (adds item to context menu which activates feature)
  • Adds a T4 template which generates strongly typed language accessors (no more "/xpath/to/some/string" )
  • The overridden texts remember which string they are overriding, so that if the standard language files themselves are updated the latest write wins.

Demonstration of EPiLang can be found at http://ilearnable.net/2011/05/22/introducing-epilang/ 

Download

For the moment Forse.EPiLang is hosted on the official EPiServer NuGet feed, you find it by searching for epilang in the package explorer

Configuration

Forse.EPiLang modifies web.config upon install, it adds the following:

<configuration>
  <system.webServer>
    <handlers>
      <add name="EPiLangEditorHandler" verb="POST" path="EPiLang.ashx" type="Forse.EPiLang.EPiLangHandler, Forse.EPiLang"/>
    </handlers>
    </system.webServer>
  <system.web>
    <pages>
      <controls>
        <add tagPrefix="EPiLang" namespace="Forse.EPiLang.Controls" assembly="Forse.EPiLang" />
      </controls>
      <namespaces>
        <add namespace="Forse.EPiLang" />
      </namespaces>
    </pages>
  </system.web>
</configuration>

It also changes the resource provider in the globalization node from EPiServer.Resources.!XmlResourceProviderFactory, EPiServer to Forse.EPiLang.EPiLangResourceProviderFactory, Forse.EPiLang

All these changes are reverted during uninstall

Support

Tickets for this component:

No results

Ask a question

Requires login.


Report a bug

Requires login.


Add a feature request

Requires login.

Requirements

Runtime:

If you want to change and compile the source code:

  • Visual Studio 2010

Contributed by

Andreas Knudsen, Forse