asp.net web api - Umbraco 7 GetDictionaryItem in WebAPI return empty string -
i have umbraco 7.1.1 site. have webapi method returns string. string constructed template. issue having when in webapi getdictionaryitem nothing back. key , value definately exist becuase if getdictionaryitem in template works.
in web.config have added:
<globalization requestencoding="utf-8" responseencoding="utf-8" fileencoding="utf-8" culture="ru-ru" uiculture="ru-ru"/>
but dictionaryitem still return empty string. how make works?
regards, anton
the umbraco dictionary items read language set in content section of cms. first have add language need (ru) in settings, apply language on node in content section.
setting language on page/node tell umbraco umbraco should rendering template in russian.
Comments
Post a Comment