您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

如何注册文本翻译 APIHow to sign up for the Translator Text API

登录到 Azure 门户Sign in to the Azure portal

  • 没有帐户?Don't have an account? 可以创建免费帐户进行试验,无需支付任何费用。You can create a free account to experiment at no charge.
  • 已有帐户?Already have an account? 登录Sign in

创建文本翻译 API 的订阅Create a subscription to the Translator Text API

登录到门户后,可以创建文本翻译 API 的订阅,如下所示:After you sign in to the portal, you can create a subscription to the Translator Text API as follows:

  1. 选择“+ 创建资源”。Select + Create a resource.
  2. 在“搜索市场”搜索框中,输入“文本翻译”,然后从结果中选择它。In the Search the Marketplace search box, enter Translator Text and then select it from the results.
  3. 选择“创建”,定义该订阅的详细信息。Select Create to define details for the subscription.
  4. 从“定价层”列表中,选择最适合需要的定价层。From the Pricing tier list, select the pricing tier that best fits your needs.
    1. 每个订阅都有一个免费层。Each subscription has a free tier. 免费层具有与付费计划相同的特征和功能,并且不会过期。The free tier has the same features and functionalities as the paid plans and doesn't expire.
    2. 帐户只能有一个免费订阅。You can have only one free subscription for your account.
  5. 选择“创建”完成创建订阅。Select Create to finish creating the subscription.

身份验证密钥Authentication key

注册文本翻译时,将获得订阅所特有的个性化访问密钥。When you sign up for Translator Text, you get a personalized access key unique to your subscription. 每次调用文本翻译 API 时都需要此密钥。This key is required on each call to the Translator Text API.

  1. 通过先选择相应的订阅检索身份验证密钥。Retrieve your authentication key by first selecting the appropriate subscription.
  2. 在订阅详细信息的“资源管理”部分中选择“密钥”。Select Keys in the Resource Management section of your subscription's details.
  3. 复制订阅所列出的任一密钥。Copy either of the keys listed for your subscription.

了解、测试和获取支持Learn, test, and get support

Microsoft Translator 通常会在验证订阅帐户状态前允许通过前几个请求。Microsoft Translator will generally let your first couple of requests pass before it has verified the subscription account status. 如果前几个 Microsoft Translator API 请求成功,则调用失败,错误响应将指示问题。If the first few Microsoft Translator API requests succeed then the calls fail, the error response will indicate the problem. 请记录 API 响应,以便你能够查看原因。Please log the API response so you can see the reason.

定价选项Pricing options

自定义Customization

使用自定义翻译以自定义翻译并创建符合自己的术语和风格的翻译系统,可从泛型 Microsoft Translator 神经机器翻译系统开始。Use Custom Translator to customize your translations and create a translation system tuned to your own terminology and style, starting from generic Microsoft Translator neural machine translation systems. 了解详细信息Learn more

其他资源Additional resources