在几乎每个使用本地化文件的Microsoft项目中,都有###PSLOC
资源字符串块之前和之后的文本.这是一个例子:
ConvertFrom-StringData @'
###PSLOC
MyString=This is a string.
###PSLOC
'@
Run Code Online (Sandbox Code Playgroud)
我在任何帮助文件中找不到任何引用.我查看了 about_Data_Sections,ConvertFrom-StringData和about_Script_Internationalization.###PSLOCPowerShell源中的唯一实例是如上所示的资源文件.
更具体地说,我很想知道:
powershell ×1