From 079224d2cd4c5c11ade1751d8102d8bf62f4bcc3 Mon Sep 17 00:00:00 2001 From: okamstudio Date: Mon, 24 Feb 2014 18:26:35 -0800 Subject: [PATCH] Updated import_translation (markdown) --- import_translation.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/import_translation.md b/import_translation.md index a500dd3..070aa2c 100644 --- a/import_translation.md +++ b/import_translation.md @@ -16,17 +16,17 @@ Translators also, most of the time prefer to work with spreadsheets (either as a To complete the picture and allow efficient support for translations, Godot has a special importer that can read .csv files. Both Microsoft Excel and Google Spreadsheet can export to this format, so the only requirement is that the files have a special format. The csv files must be saved in utf-8 encoding and the format is as follows: -| | `` | `` | `` | +| | | | | | ---- | ----------- | ----------- | ----------- | -| KEY1 | `string`| `string`|`string`| -| KEY2 | `string`| `string`|`string`| -| KEYN | `string`| `string`|`string`| +| KEY1 | string | string |string | +| KEY2 | string | string |string | +| KEYN | string | string |string | The "lang" tags must represent a language, it must be one of the [valid locales](locales) supported by the engine. The "KEY" tags must be unique and represent a string universally (they are usually in uppercase, to differentiate from other strings). Here's an example: | | en | es | ja | -| | -- | -- | -- | +| -- | -- | -- | -- | | GREET | Hello, friend! | Hola, Amigo!|こんにちは| | ASK | How are you?| Cómo esta?|元気ですか| | BYE | Good Bye| Adiós|さようなら|