bobo4715 发表于 2014-9-20 01:17

官方论坛上说要出一个允许用户使用自己翻译文本的版本

原文如下:
Capitalism Lab game text translation by users



We are in the process of preparing a new version that will allow users to translate the game text on their own.

The new version will allow for user localization of game text in Capitalism Lab into your native language.

Here is a preview of how it works:

Steps:
1)        Create a folder named “Translate” under your Capitalism Lab game folder.
2)        Create a text file named “Translate.txt” and save it under the “Translate” folder.
3)        Edit translate.txt with a text editor and follow the syntax described below.


Syntax of Translate.TXT

<Original Text>|
<Translated Text>|
~
<Original Text>|
<Translated Text>|

Note:
| - always place this character at the end of each text line
~ - place this character between text blocks

The text file must be encoded in ANSI format.

-------------------------------------------------------------------------------------------

Improved support for user translated text

You may now use % to represent variables in user translated text.

Example:
The stock price rose from % to %|
Le prix des actions a augmenté de % à %|

“The stock price rose from $10.00 to $11.00. “ will be translated into “Le prix des actions a augmenté de $10.00 à $11.00”

In other words, you may use % to represent text that need not to be translated, such as company names, person names, product names, prices, and numbers.


页: [1]
查看完整版本: 官方论坛上说要出一个允许用户使用自己翻译文本的版本