Closed tanagumo closed 7 years ago
I want to use nested support option, but I don't have any good idea to hundle a case like below.
"foo": {"bar": "バー", "baz": "バズ"}, "Webpack is awesome. It's a great tool!!": "Webpackは素晴らしいツールです!"
Since nested option splits keys by dot, __('Webpack is awesome. It's a great tool!!') does not translate correctly.
__('Webpack is awesome. It's a great tool!!')
Is there any good idea?
Looks like it will be better to move the path to the another argument, so it would look like:
__('foo', 'bar')
Looks like it was added here: https://github.com/webpack-contrib/i18n-webpack-plugin/pull/9
I want to use nested support option, but I don't have any good idea to hundle a case like below.
Since nested option splits keys by dot,
__('Webpack is awesome. It's a great tool!!')
does not translate correctly.Is there any good idea?