Skip to main content

Posts Tagged ‘Dictionary’

Pc Setup@1x.jpg

How to Get Sitecore Dictionary in JavaScript

It’s very easy to get translations in back-end code — either Razor views or .cs files — by simply calling to Sitecore.Globalization.Translate.Text(). But what about JavaScript widgets? There we have several options: Item Web API results in overhead and is hard to use without additional implementation. StringDictionary embeds values right in HTML and needs to be configured […]

Abstract Books@1x.jpg

Editable Dictionary Items

[su_note note_color=”#fafafa”]This blog post is a response to a question over at SDN (here). It’s a prototype of a solution, please use at your own risk and make sure you harden the code properly. I intentionally simplified it for the blog post. If I spend a little more time on it I will publish it […]