如何本地化 Azure API Management Developer Portal 使用的字符串?
How do I localise the strings used by the Azure API Management Developer Portal ?
我似乎找不到使用提供的模板编辑器编辑本地化字符串的方法,有人对此有任何指示吗?
例如,如果我想将文本 'search products' 更改为其他内容,例如... Where/How 我可以编辑模板及其数据吗?
谢谢
乐王
丑陋的做法:
编辑模板,删除
<search-control></search-control>
并向输入占位符添加自定义文本
<div>
<form action="/Products" class="pull-right" method="get">
<input type="hidden" name="startEditTemplate" value="ProductList">
<div class="form-group has-feedback">
<input placeholder="My Custom Search products" id="pattern" type="search" class="form-control" name="pattern" spellcheck="false">
<button class="glyphicon glyphicon-search form-control-feedback ap-ininput-button"></button>
</div>
</form>
</div>
不好的地方在于您现在负责更新这段代码和模板。
我似乎找不到使用提供的模板编辑器编辑本地化字符串的方法,有人对此有任何指示吗?
例如,如果我想将文本 'search products' 更改为其他内容,例如... Where/How 我可以编辑模板及其数据吗?
谢谢 乐王
丑陋的做法:
编辑模板,删除
<search-control></search-control>
并向输入占位符添加自定义文本
<div>
<form action="/Products" class="pull-right" method="get">
<input type="hidden" name="startEditTemplate" value="ProductList">
<div class="form-group has-feedback">
<input placeholder="My Custom Search products" id="pattern" type="search" class="form-control" name="pattern" spellcheck="false">
<button class="glyphicon glyphicon-search form-control-feedback ap-ininput-button"></button>
</div>
</form>
</div>
不好的地方在于您现在负责更新这段代码和模板。