Autenticação

Registo

Vamos ajudar os programadores nas seguintes plataformas

  • Ruby on Rails (*.yml)
  • JSON (*.json)
  • .NET (*.resx)
  • iOS (*.strings)
  • Android (*.xml)
  • PHP (*.php)

Como você pode localizar?

  • escolha o arquivo para a localização
  • seleccionar tradução de direção
  • executar a tradução
  • aguarde alguns segundos / minutos
  • download do arquivo de resultado

Ruby on Rails file structure

Base locale is defined by file's content.

File name

File name could be like en.yml or devise.de.yml.

File structure

File must contain locale's code in the first text line.

Common structure of Rails yml file is described below.

en:
index: Main
help: Help, %{user_name}
footer:
header: Contacts

JSON file structure

Base locale is defined by file's name or content.

File name

File name could be like en.json or some_data.json.

File structure

File must contain locale's code as key for json hash. If file does not contain locale's code as key then file's name must contain it.

Common structures of JSON files is described below.

{
"en": {
"index": "Main",
"help": "Help",
"header": "Contacts"
}
}
{
"index": "Main",
"help": "Help",
"header": "Contacts"
}

.NET file structure

Base locale is defined by file's name.

File name

File name could be like UIStrings.resx or UIStrings.da-DK.resx.

File structure

Common structure of .NET resx file is described below.

<‍root>
<‍data name="ChangeUser" xml:space="preserve">
<‍value>Change User<‍/value>
<‍/data>
<‍/root>

iOS file structure

Base locale is defined by file's name.

File name

File name could be like Main.strings or Main.pt.strings.

File structure

File contains comments inside /*...*/ and strings for translation.

Common structure of iOS strings file is described below.

/* Class = "UILabel"; text = "Label"; ObjectID = "0e4-T0-d38"; */
"0e4-T0-d38.text" = "Label";

Android file structure

Base locale is defined by file's name.

File name

File name could be like strings.xml or strings.es.xml.

File structure

Common structure of Android xml file is described below.

<‍resources>
<‍string name="info_text">You are here<‍/string>
<‍/resources>

PHP file structure

Base locale is defined by file's name.

File name

File name could be like app.php or app.es.php.

File structure

Common structure of PHP file is described below.

return [
'original message 1' => 'translated message 1',
'original message 2' => 'translated message 2',
];

Assistência tradutores profissionais

O serviço Web LangTool funciona devido à tradução automática de textos usando o Yandex.Translator. Mas para melhorar a qualidade de tradução exigida dos tradutores profissionais. Se você tem habilidade, desejo e oportunidade para ajudar o projeto, você pode enviar um inquérito para receber os direitos de tradução e confirmação de traduções.