gpt4 book ai didi

azure - 如何本地化 Azure API 管理开发人员门户使用的字符串?

转载 作者:行者123 更新时间:2023-12-02 07:11:40 24 4
gpt4 key购买 nike

我似乎找不到使用提供的模板编辑器编辑本地化字符串的方法,有人对此有任何指示吗?

例如,如果我想将文本“搜索产品”更改为其他内容,例如...在哪里/如何编辑模板及其数据?

谢谢勒罗伊

最佳答案

执行此操作的丑陋方法:

编辑模板,删除

<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>

不好的部分是您现在负责更新这段代码和模板。

关于azure - 如何本地化 Azure API 管理开发人员门户使用的字符串?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41569415/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com