Dear webix team, I am using locale plugin for webix jet, in your example file with translations looks like this
define ([], function(){
return {
“Language”: “Language”,
“MyApp”:“My App!”,
“DashBoard”:“Dashboard”,
“Data”:“Data”,
“StartPage”:“Start page”,
“FilmsCountLabel”:“You have %{smart_count} films in Data Section||||You have %{smart_count} films in Data section”,
“Title”:“Title”,
“Year”:“Year”,
“Votes”:“Votes”,
“Rating”:“Rating”,
“Rank”:“Rank”
};
});
My question is:
Is it possible to use objects inside of this file and if yes than how to call it from view
define ([], function(){
return {
“Language”: {
“abc”: “Language”,
“lala”: {
“Some other word”: “Some other etc.”
}
}
};
});
Cause it’s not working like this:
{ value:_(“DashBoard[‘abc’]”) or this _(“DashBoard.abc”) },