ui-grid
ui-grid copied to clipboard
angular.js:13708 Error: [$parse:syntax] Syntax Error: Token 'en' is an unexpected token at column 4 of the expression [ru en] starting at [en].
write in template
<div class="grid" ui-i18n="ru" ui-grid="gridOptions"
after render
<div class="grid" ui-i18n="ru en" ui-grid="gridOptions"
check it out
ui-i18n="ru en"
+1. uiI18n directive is so broken.
https://github.com/cybermerlin/ui-grid/tree/bugfix/i18n
Hi, In 4.0.2 is still broken. I can reproduce cybermerlin issue. But I could change the language with the i18nService as http://ui-grid.info/docs/#/tutorial/104_i18n.
fix based into https://github.com/cybermerlin/ui-grid/tree/develop
4.0.10 is still broken.