|
|
I'm looking for a way to Localize the Front End messages for Extranet.
I've created a file "Composite.Community.Extranet.nl-NL.xml" in "Composite\InstalledPackages\Localization" but no luck.
I've copied the file also to "App_Data\Composite\LanguagePacks\nl-NL" but also no succes.
What is the right way to do this?
|
|
Coordinator
May 23, 2012 at 10:56 PM
|
The new file also needs to be registered in ¨/App_Data/Composite/Composite.config - open up this file, locate the -en-US version of the file, copy the xml element and change en-US to nl-NL in the copy. Then use Tools ´Restart Server in the C1 Console.
|
|
|
|
Thank you Mawtex! You saved my day, again. ;-)
|
|
Developer
May 24, 2012 at 9:37 AM
|
We've updated the documentation. Please see
http://docs.composite.net/Composite.Community.Extranet#Localization
Thank you for pointing it out.
|
|
|
|
Would it be possible to introduce some convention over configuration? Surely, the file Composite.Community.Extranet in en-US will always be named Composite.Community.Extranet.en-US.xml, like in nl-NL will always be named Composite.Community.Extranet.nl-NL.xml.
It makes it error-prone that you need to be so explicit about things, when there is a perfectly working and understood pattern in .Net for language resources and satellite assemblies.
|
|