我的插件本地化有问题。我按照本教程进行操作,Using Localized Strings in Preferences
但我无法编译我的插件,因为我使用波兰字符ć
和其他字符。
我已经制作了locale
文件夹并将pl-PL.properties
包含以下内容的文件放在那里:
my_tag_title = Co robić?
我得到了错误:
Following locale file is not a valid UTF-8 file: C:\path\pl-PL.properties
'utf8' codec can't decode byte 0xe6 in position 22: invalid continuation byte"
有没有办法将特殊字符直接放在 package.json 中?
如何解决这个问题呢?