Godkendelse

Tilmelding

Vi hjælper udviklere på følgende platforme

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

Hvordan kan du lokalisere?

  • vælg fil til lokalisering
  • vælg oversættelse retning
  • køre oversættelse
  • vent nogle få sekunder / minutter
  • download resultat fil

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

Bistand til professionelle oversættere

Web service LangTool funktioner på grund af den automatiske oversættelse af tekster ved hjælp af Yandex.Oversætter. Men til at forbedre oversættelseskvaliteten, der kræves af en professionel oversætter. Hvis du har den evne, lyst og mulighed for at bidrage til projektet, kan du sende en forespørgsel til at få rettighederne til at oversætte og bekræfte oversættelser.