Closed ryanseddon closed 10 years ago
This is my attempt to add the option to not split keys when there is a '.' in the lookup name.
The following locale file:
{ 'dont.split.on.dots': 'hello' }
When calling translate with splitkeyChar option set to anything but a . yields:
splitkeyChar
.
translate('dont.split.on.dots', { splitKeyChar: '*' }); // => 'hello'
@martinandert ping, thoughts?
see #4
This is my attempt to add the option to not split keys when there is a '.' in the lookup name.
The following locale file:
When calling translate with
splitkeyChar
option set to anything but a.
yields: