The ​​​​​​​​​«data-bind i18n» expressions with JavaScript function calls are used in the core, but untranslatable due to the regular expression and architectural limitations

localization
bug

(Dmitry Fedyuk) #1

For example:

The text Default View can not be translated because the regular expression limitations:

The string i18n: activeView() ? activeView().label() : 'Default View' does not match the regular expression ~i18n\:\s*(["'])(.*?)(?<!\\)\1~ so we can not translate Default View.


Bug: i18n phrases with apostrophes (') in Knockout templates are untranslatable (and my fix)
(Dmitry Fedyuk) #2

See also: