Home Cooker Classes Others Rice
Cooker  >  message
Message

Change message language.

The default messages for Cooker are English. It will explain how to change these messages.


The distribution archive of Cooker includes two text files for changing the messages.

message-en.txt

message-jp.txt

The message_en.txt is a text file that exported the default messages.

The message-jp.txt is a text file that translated the default messages into Japanese.


It explains how to change messages by using message-jp.txt.


Please change the name of message-jp.txt to message.txt and put it in the same directory as the Cooker.exe.

Please start the Cooker.exe, and the messages will be in Japanese.


In other words, changing the message language means to prepare a message text file for the desired language and rename it to the "message.txt" and place it in the same directory as the Cooker.exe.

Format of message text file

First, the message text file must be a UTF-8 encoded text file.

A line beginning with # in the file is comment line. It has nothing to do with changing messages.

A line which does not begin with # indicates a pair of message name and body. Message name and body will be separated by ::: (triple colon).

In the string delimited by :::, the first is the message name, and the second is the message body to be changed.

There is no restriction on the characters and length used for the message name and body. However, since ::: is a separator, it can not be used.

There is no problem even if there are two or more strings delimited by :::. Third and later are ignored. In the message-jp.txt, the second is a japanese message, the third is an original message.

Please see message-jp.txt for details.

Next
Previous
Copyright © Rice All rights reserved.