From 322cd3e5c47f5bceeab0aabaf00acad2b9902189 Mon Sep 17 00:00:00 2001 From: okamstudio Date: Mon, 24 Feb 2014 18:25:08 -0800 Subject: [PATCH] Updated import_translation (markdown) --- import_translation.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/import_translation.md b/import_translation.md index d8b22ab..e806bc0 100644 --- a/import_translation.md +++ b/import_translation.md @@ -16,20 +16,20 @@ 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|さようなら| +| | en | es | ja | +| | -- | -- | -- | +| GREET | Hello, friend! | Hola, Amigo!|こんにちは| +| ASK | How are you?| Cómo esta?|元気ですか| +| BYE | Good Bye| Adiós|さようなら| #### Import Dialog