Authentification

Inscription

Nous aidons les développeurs sur les plates-formes suivantes

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

Comment pouvez-vous localiser?

  • choisissez fichier pour la localisation
  • sélectionner la traduction de direction
  • exécuter la traduction
  • attendez quelques secondes / minutes
  • télécharger le fichier résultat

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',
];

L'Assistance à des traducteurs professionnels

Service Web LangTool fonctionne en raison de la traduction automatique de textes utilisant Yandex.Translator. Mais pour améliorer la qualité de la traduction requise des traducteurs professionnels. Si vous avez la capacité, le désir et l'opportunité d'aider le projet, vous pouvez envoyer une demande pour recevoir les droits de traduction et de confirmation des traductions.