This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": "d_days", | |
"translation": { | |
"one": "{{.Count}} day", | |
"other": "{{.Count}} days" | |
} | |
}, | |
{ | |
"id": "my_height_in_meters", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import static java.nio.charset.StandardCharsets.ISO_8859_1; | |
import static java.nio.charset.StandardCharsets.UTF_16BE; | |
import static java.nio.charset.StandardCharsets.UTF_16LE; | |
import static java.nio.charset.StandardCharsets.UTF_8; | |
import java.nio.ByteBuffer; | |
import java.nio.CharBuffer; | |
import java.nio.charset.CharacterCodingException; | |
import java.nio.charset.Charset; | |
import java.nio.charset.CharsetDecoder; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<xliff version="1.2" | |
xmlns="urn:oasis:names:tc:xliff:document:1.2" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-strict.xsd"> | |
<file original="sample.properties" | |
source-language="en" target-language="de" | |
datatype="javapropertyresourcebundle"> | |
<body> | |
<trans-unit id="1" resname="key1"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# A header comment for | |
# the file. | |
# a comment for the LOGOFF segment | |
define('LOGOFF', 'Log off'); | |
define("DOUBLE_QUOTES", "'single' and \"double\" quotes"); | |
define("SINGLE_QUOTES", '\'single\' and "double" quotes'); | |
DEFINE('PLACEHOLDER', 'Hello %s!'); | |
DEFINE('MULTI_LINE', 'A multi line \n string.'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<root> | |
<data name="Common_AuthenicationFailed" xml:space="preserve"> | |
<value>Authentifikation fehlgeschlagen</value> | |
<comment>comment will be assigned as description to translation "Common_AuthenicationFailed"</comment> | |
</data> | |
<data name="Common_Billable" xml:space="preserve"> | |
<value>Verrechenbar</value> | |
<comment>lh-check { min: 10, max: 15 }</comment> | |
</data> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# header comment | |
msgid "" | |
msgstr "" | |
"Project-Id-Version: LingoHub 1.6.0\n" | |
"Report-Msgid-Bugs-To: \n" | |
"POT-Creation-Date: 2013-05-05 19:22+0200\n" | |
"PO-Revision-Date: 2013-04-29 10:16+0100\n" | |
"Last-Translator: Translator <translator@lingohub.com>\n" | |
"MIME-Version: 1.0\n" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lingohub resource:up config/locales/en/en.yml --locale 'en' --project 'lht' | |
lingohub resource:up config/locales/de/de.yml --locale 'de' --project 'lht' | |
lingohub resource:up config/locales/ja/ja.yml --locale 'ja' --project 'lht' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lingohub resource:down --locale 'en' --directory config/locales/en --project 'lht' --all | |
lingohub resource:down --locale 'de' --directory config/locales/de --project 'lht' --all | |
lingohub resource:down --locale 'ja' --directory config/locales/ja --project 'lht' --all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"sc7MessageCount" : "Anzahl der Nachrichten: <span data-win-bind=\"innerText:count\" ></span>", | |
"_sc7MessageCount.source" : "You have <span data-win-bind=\"innerText:count\"></span> message(s)", | |
"_sc7MessageCount.comment" : "Do not change the HTML markup.", | |
"sc9AddressLabel" : "Adresse:", | |
"_sc9AddressLabel.source" : "Address", | |
"_sc9AddressLabel.comment" : "the address of the user" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input.ensure_encoding('UTF-8', | |
:external_encoding => [::Encoding::UTF_8, ::Encoding::UTF_16LE, ::Encoding::UTF_16BE, | |
::Encoding::ISO_8859_1], | |
:invalid_characters => :transcode) |
NewerOlder