Actions

Quick-translation/zh-cn: Difference between revisions

From LimeSurvey Manual

(Created page with "The "自动翻译Auto-translate" 功能使用 Google 翻译的在线服务来自动翻译调查。你需要从全局设置里输入你的 Global settings#General|Google 翻...")
(Updating to match new version of source page)
 
(4 intermediate revisions by 2 users not shown)
Line 5: Line 5:




<span id="General"></span>
=常规=
=常规=


Line 14: Line 15:




<span id="Requirements"></span>
=需求=
=需求=


Line 31: Line 33:




<span id="Quick-translate_a_survey"></span>
=快速翻译一份调查=
=快速翻译一份调查=


Line 46: Line 49:
<center>[[File:Sondaj - quick translation example.png]]</center>
<center>[[File:Sondaj - quick translation example.png]]</center>


<span id="Auto-translate"></span>
=自动翻译=
=自动翻译=




<div class="mw-translate-fuzzy">
The "自动翻译Auto-translate" 功能使用 Google 翻译的在线服务来自动翻译调查。你需要从全局设置里输入你的 [[Global settings#General|Google 翻译 API 码]] 来使用此功能。Google 对提交的翻译目前按每一百万字符20美元收费。
The "自动翻译Auto-translate" 功能使用 Google 翻译的在线服务来自动翻译调查。你需要从全局设置里输入你的 [[Global settings#General|Google 翻译 API 码]] 来使用此功能。Google 对提交的翻译目前按每一百万字符20美元收费。
</div>




=Troubleshooting=
If you are using '''LimeSurvey Cloud''' with a paid subscription plan, there is no need to enter a key - you can use this feature without providing an API key.


<span id="Troubleshooting"></span>
=故障排除=


Q: When saving not all translations are saved.


A: With big surveys the number of variables sent to the server can easily exceed 1000. By default, PHP only allows 1000 post variables at a maximum, any variables beyond the first 1000 are ignored. You will need to modify your PHP configuration and set the variable 'max_input_vars' to a much higher value - try 5000 or better 10000. If you don't understand what you have to do, please contact your server administrator with this information!
问:保存时,不会保存所有翻译。
 
答:对于大的调查,发送给服务器的变量的数量很容易超过1000。PHP 默认情况最大仅允许提交1000变量,超过第一个1000的变量都会被忽略。你需要编辑 PHP 配置文档并设置变量 'max_input_vars' 为一个足够高的值 - 比如 5000 10000 更好。如果不清楚你要如何做,请联系你的系统管理员。

Latest revision as of 12:38, 11 April 2024



常规

LimeSurvey包含一个内置工具,可快速轻松地翻译调查。这个工具设计用来让翻译人员轻松的将一份调查从基础语言翻译为任何指定的目标语言。


查看 多语言调查的快速入门 以便更好的理解 LimeSurvey 内置翻译工具如何工作。


需求

要使用快速翻译,你必须使用至少一种其他语言进行调查。因此在调查的 常规设置 ,添加想要的其他语言。



快速翻译功能默认通过调查的工具栏访问。要为指定用户启用此功能 (该用户没有全局权限),执行以下步骤:

  1. create/编辑用户 中为每个翻译人员添加新用户:
  2. 进入 "本地" 调查权限,选择用户,并赋予他/她 "快速翻译" 所需的用户权限。



快速翻译一份调查

一旦完成以上步骤,你和你的翻译人员就可以开始翻译调查了:



  1. 在 "工具" 菜单,点击 "快速翻译" 按钮
  2. 你会看到一个页面,将每一种调查内容的类型分成单独的标签,比如,"调查标题和描述","欢迎和结束文本",等等。 翻译每一个内容类型,并确保按下 保存 按钮更新你的修改。


自动翻译

The "自动翻译Auto-translate" 功能使用 Google 翻译的在线服务来自动翻译调查。你需要从全局设置里输入你的 Google 翻译 API 码 来使用此功能。Google 对提交的翻译目前按每一百万字符20美元收费。


If you are using LimeSurvey Cloud with a paid subscription plan, there is no need to enter a key - you can use this feature without providing an API key.

故障排除

问:保存时,不会保存所有翻译。

答:对于大的调查,发送给服务器的变量的数量很容易超过1000。PHP 默认情况最大仅允许提交1000变量,超过第一个1000的变量都会被忽略。你需要编辑 PHP 配置文档并设置变量 'max_input_vars' 为一个足够高的值 - 比如 5000 或 10000 更好。如果不清楚你要如何做,请联系你的系统管理员。