Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

i18n files

$
0
0

Looking to create i18n files w/ key value pairings for english and french and display on their appropriate channels...

example: 

my-french-i18n.file
-----------------
my.header = my french translation


my-english.i18n.file
------------------
my.header = my english translation


Then in the razor file, something like
------------------
<p>i18n['my.header']</p>
or
<p>i18n.getValueByKey('my.header')</p>




Cant seem to find docs on this aywhere...
How does this work in episerver?
Can someone point me in the right direction?

Thanks,

CC


Viewing all articles
Browse latest Browse all 9076

Trending Articles