Open aristov opened 9 years ago
cc @veged @narqo @dfilatov
@blond ping
@blond do you have any time estimates?
@veged one week
@blond is there anything to look at?
@narqo the ball is on my side: I promised to look and try enb-bem-core-i18n, but just start to do this. I'll be glad to receive any help if possible.
@aristov, Now we are making these changes to the enb-bem-i18n
package in 1.x
branch.
I've created enb-bem-i18n-test branch with simple config and special i18n testing bundle.
Everything works fine, but I'm not sure, that I build ?.{lang}.js
files properly. @blond, could you check if I do things right, please?
@aristov, it looks good.
Some comments:
Instead of ./techs/i18n-bemjson-to-html tech need use enb-bemxjst/techs/bemjson-to-html.
For merge client JavaScript files with i18n need use option lang: '{lang}'
:
nodeConfig.addTech([require('enb/techs/file-merge'), {
lang: '{lang}',
sources : ['?.pre.js', '?.i18n.{lang}.js'],
target : '?.pre.{lang}.js'
}]);
If everything is done, we can release the new package version to use it in #1108.
We need to implement ENB techs as described in #576 and in branch issues/576@v3