Actions

Quick-translation/zh-cn: Difference between revisions

From LimeSurvey Manual

(Created page with "要使用快速翻译,你必须使用至少一种其他语言进行调查。因此在调查的 常规设置 ,添加想要的其他语言。")
(Created page with "答:对于大的调查,发送给服务器的变量的数量很容易超过1000。PHP 默认情况最大仅允许提交1000变量,超过第一个1000的变量都会被忽...")
(9 intermediate revisions by the same user not shown)
Line 23: Line 23:




By default, the quick-translation facility can be accessed from the tool menu in the survey toolbar. To enable this for a specific user (without providing him global permissions), go through the following steps:
快速翻译功能默认通过调查的工具栏访问。要为指定用户启用此功能 (该用户没有全局权限),执行以下步骤:
#In [[Manage users|create/edit users]] add each translator as a new user.
#[[Manage users|create/编辑用户]] 中为每个翻译人员添加新用户:
#Go to the "local" [[Survey permissions|survey permissions]], select each desired user, and provide him/her the necessary user rights for "quick translation".
#进入 "本地" [[Survey permissions|调查权限]],选择用户,并赋予他/"快速翻译" 所需的用户权限。




Line 31: Line 31:




=Quick-translate a survey=
=快速翻译一份调查=




Once these steps are complete, you and your translators are ready to translate the survey:
一旦完成以上步骤,你和你的翻译人员就可以开始翻译调查了:




Line 40: Line 40:




#In the "tools" menu, click on "quick-translation" button
#"工具" 菜单,点击 "快速翻译" 按钮
#You are now presented with a screen with a separate tab for each type of survey content type, e.g., "Survey title and description", "Welcome and end text", etc. Do the translation for each content type, and be sure to press the '''Save''' button to update your changes.
#你会看到一个页面,将每一种调查内容的类型分成单独的标签,比如,"调查标题和描述""欢迎和结束文本",等等。 翻译每一个内容类型,并确保按下 '''保存''' 按钮更新你的修改。




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


=Auto-translate=
=自动翻译=




The "Auto-translate" feature makes use of the Google translate web service for automatic translation of a survey. You must enter your [[Global settings#General|Google Translate API Key]] under global settings to access this feature. Google currently charges $20 US per 1 million characters submitted for translation.
The "自动翻译Auto-translate" 功能使用 Google 翻译的在线服务来自动翻译调查。你需要从全局设置里输入你的 [[Global settings#General|Google 翻译 API ]] 来使用此功能。Google 对提交的翻译目前按每一百万字符20美元收费。




=Troubleshooting=
=故障排除=




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 更好。如果不清楚你要如何做,请联系你的系统管理员。

Revision as of 04:50, 5 November 2020



常规

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


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


需求

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



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

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



快速翻译一份调查

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



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


自动翻译

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


故障排除

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

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