I have hosted multiple-site on a single UMBRACO instance . each site with different layout / behavior but used the same Macros (which Ref.dll) , In which it have predefine Umbraco dictionary Item
Eg. Dictionary item with two lang i.e, English (United States) and French (Belgium)
Name :- UmDic_SiteName
Dictionary item value
English (United States) :- "Site One Name In English"
French (Belgium) :- "Site One Name In French"
As umbraco Dictionary Item Name is defined in dll(Macros) , So It can not be change
Now for each different site Dictionary item values need to be different let say for Eg ,Site : Two to would something like following
Name :- UmDic_SiteName
Dictionary item value
English (United States) :- "Site Two Name In English"
French (Belgium) :- "Site Two Name In French"
So their any way we can configure it . can we do any customized in umbraco.?
Finally I have download Umbraco Source code. "umbraco_a7dae59a1e55" And added Code to add custom Language in Umbraco.
In umbraco Source >> \umbraco\cms\businesslogic\language\Language.cs
have modify condition in following method.
public static void MakeNew(string CultureCode)
public static void MakeNew(string CultureCode)
public static Language GetByCultureCode(String cultureCode)
private void updateNames()
like
if ((CultureCode.Contains(CustLangPrefix)) || (new CultureInfo(CultureCode) != null))
where CustLangPrefix is custom lang prefix.