pidgin/nest

235070e4c8a6
Parents 888744ed2501
Children 92a88746c770
Lots of i18n work, including basics for the site itself
--- a/config.toml Mon Jan 14 22:44:31 2019 -0600
+++ b/config.toml Mon Jan 14 23:58:46 2019 -0600
@@ -10,3 +10,9 @@
[outputs]
home = [ "HTML", "RSS", "JSON"]
+
+[languages]
+ [languages.en]
+ languageName = "English (US)"
+ [languages.es]
+ languageName = "Spanish"
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/content/_index.es.md Mon Jan 14 23:58:46 2019 -0600
@@ -0,0 +1,5 @@
+---
+title: "About"
+---
+
+This is just a simple page to make sure language selection is working.
--- a/content/_index.md Mon Jan 14 22:44:31 2019 -0600
+++ b/content/_index.md Mon Jan 14 23:58:46 2019 -0600
@@ -1,6 +1,22 @@
---
-title: "Welcome"
-draft: true
+title: "About"
---
-Hello World
\ No newline at end of file
+Pidgin is a chat program which lets you log in to accounts on multiple chat networks simultaneously. This means that you can be chatting with friends on MSN, talking to a friend on Google Talk, and sitting in a Yahoo chat room all at the same time.
+
+Pidgin runs on Windows, Linux, and other UNIX operating systems. Looking for Pidgin for OS X? Try [Adium](https://adium.im)!
+
+Pidgin is compatible with the following chat networks out of the box: ICQ, Google Talk, Jabber/XMPP, Bonjour, Gadu-Gadu, IRC, Novell GroupWise Messenger, Lotus Sametime, SILC, SIMPLE, and Zephyr. It can support many more with [plugins](/plugins).
+
+Pidgin supports many features of these chat networks, such as file transfers, away messages, buddy icons, custom smilies, and typing notifications. Numerous plugins also extend Pidgin's functionality above and beyond the standard features.
+
+Pidgin is under constant development. Releases are usually frequent and driven by user contributions, such as [bug reports](https://pidgin.im/support/) and [patches](https://developer.pidgin.im/).
+
+Pidgin is free and contains no ads. All our code is open source and licensed under the GNU General Public License. This means you can get Pidgin's underlying code and modify it to suit your needs, as long as you publish the changes you make for everyone to benefit from as well.
+
+## Supported Languages
+Pidgin is translated into many different languages, thanks to the generous contributions of our volunteer translators.
+
+{{< i18n-languages >}}
+
+If your native language is missing from this list or you've found that a translation contains errors, you can help us! Take a look at our [tips for translators](/i18n/tips/) page!
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/content/i18n/_index.md Mon Jan 14 23:58:46 2019 -0600
@@ -0,0 +1,4 @@
+---
+title: "Internationalization"
+---
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/content/i18n/tips.md Mon Jan 14 23:58:46 2019 -0600
@@ -0,0 +1,46 @@
+---
+title: "Tips"
+anchor: "i18n-tips"
+---
+
+### Can I help translate?
+
+Yes! Our translations are provided by volunteers. To improve consistency and quality we prefer to have a designated person or group of people maintain each translation.
+
+If Pidgin already has a translation for your language, please contact the designated translator(s) and ask if you can help. It's possible they are looking for someone to take over. You can find their email address in Pidgin's Help→Translator Information window. Or, for some languages you can try contacting the translator(s) via [Transifex](https://www.transifex.com/projects/p/pidgin/).
+
+If you're unable to contact the designated translator(s) or if Pidgin does not yet have a translation for your language, email the [translators mailing list](https://pidgin.im/cgi-bin/mailman/listinfo/translators) and ask if anyone is already working on translating that language.
+
+### When should I submit a translation update?
+
+The translations are shipped with each Pidgin release, so there is no great advantage to submitting a translation multiple times during a release cycle. We announce a string freeze on the [translators mailing list](https://pidgin.im/cgi-bin/mailman/listinfo/translators) before each release. This is a promise to you that we will not add any new strings or change any existing ones. During this time you should finish translating any new strings and submit a new translation to us.
+
+### Where should I submit a translation update?
+
+The preferred method for submitting updated translations is via [Transifex](https://www.transifex.com/projects/p/pidgin/). If you're the designated translator for your language then you can request to create a new language team for your language in Transifex (and please also send an email to the [translators mailing list](https://pidgin.im/cgi-bin/mailman/listinfo/translators) and let us know!).
+
+If you're opposed to using Transifex there are two other methods you could use to send us translations. These cause slightly more overhead for us, so we try to avoid them.
+
+ 1. By [creating a new ticket](https://developer.pidgin.im/newticket) and attaching your translation file. Please provide your full name, a contact email address, and the language and country code for your translation.
+ 1. Or you can ask a Pidgin developer to give you commit access directly to our version control system, then commit the translation yourself. Before you commit a translation update, please strip line numbers from the .po file by running `XGETTEXT_ARGS=--no-location intltool-update LL`. This makes the diff smaller and more human-friendly.
+
+### Translation Stats and a .pot File
+
+You can see the current translation statistics at https://developer.pidgin.im/l10n/. There is also a link to the nightly version of the pidgin.pot at the bottom of the page. The .pot file includes the strings from our Windows installer. Providing a full translation of this file automatically ensures that Windows users will be able to have a translated installer for their convenience.
+
+### How Pidgin Handles Translation Updates
+
+ * Current translators are always listed in Pidgin's About dialog (Help → About from Pidgin's Buddy List window) by name, and each translator's e-mail address is included. Because of this, we need current translators to inform us if their e-mail address changes.
+ * Translation updates for each language are accepted ***only*** from its current translator, except when:
+ * The current translator has told us he/she wishes to retire from translating Pidgin
+ * The current translator has not submitted an update for at least one year and does not respond to inquiries.
+ * The current translator tells us to accept the update and/or treat a new translator as a co-maintainer of the translation.
+ * We become aware through verifiable means that the current translator has passed away.
+
+In short, this means that if you are not the current translator for a specific language, we will not normally accept the translation update from you, except as described above. We do this to minimize confusion among users--we've found over time that some translators will choose different ways to translate a given word or phrase, which inevitably confuses users. We apologize for any inconvenience this may cause, but we believe that following these rules makes translations better for everyone.
+
+
+### Helpful links
+* [Transifex](https://www.transifex.com/projects/p/pidgin/)
+* [Translationn statistics](https://developer.pidgin.im/l10n/)
+* [Our translators mailing list](https://pidgin.im/cgi-bin/mailman/listinfo/translators)
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/data/i18n_languages.json Mon Jan 14 23:58:46 2019 -0600
@@ -0,0 +1,84 @@
+[
+ "Afrikaans",
+ "Albanian",
+ "American English",
+ "Amharic",
+ "Arabic",
+ "Armenian",
+ "Australian English",
+ "Azerbaijani",
+ "Belarusian Latin",
+ "Bengali",
+ "Bokmal Norwegian",
+ "Bosnian",
+ "British English",
+ "Bulgarian",
+ "Canadian English",
+ "Catalan",
+ "Chinese",
+ "Czech",
+ "Danish",
+ "Dutch",
+ "Dzongkha",
+ "English",
+ "Esperanto",
+ "Estonian",
+ "Euskera (Basque)",
+ "Finnish",
+ "French",
+ "Galician",
+ "Georgian",
+ "German",
+ "Greek",
+ "Gujarati",
+ "Hebrew",
+ "Hindi",
+ "Hong Kong Chinese",
+ "Hungarian",
+ "Indonesian",
+ "Irish",
+ "Italian",
+ "Japanese",
+ "Kannada",
+ "Khmer",
+ "Korean",
+ "Kurdish",
+ "Lao",
+ "Lithuanian",
+ "Macedonian",
+ "Malay",
+ "Marathi",
+ "Mongolian",
+ "Myanmar (Burmese)",
+ "Nepali",
+ "Norwegian Nynorsk",
+ "Occitan",
+ "Oriya",
+ "Pashto",
+ "Persian",
+ "Polish",
+ "Portuguese",
+ "Portuguese-Brazil",
+ "Punjabi",
+ "Romanian",
+ "Russian",
+ "Serbian",
+ "Serbian Latin",
+ "Simplified Chinese",
+ "Sinhala",
+ "Slovak",
+ "Slovenian",
+ "Spanish",
+ "Swahili",
+ "Swedish",
+ "Tamil",
+ "Telugu",
+ "Thai",
+ "Traditional Chinese",
+ "Turkish",
+ "Ukranian",
+ "Urdu",
+ "Valencian-Catalan",
+ "Vietnamese",
+ "Xhosa"
+]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/layouts/shortcodes/i18n-languages.html Mon Jan 14 23:58:46 2019 -0600
@@ -0,0 +1,5 @@
+<ul class="condensed">
+ {{- range .Site.Data.i18n_languages -}}
+ <li>{{.}}</li>
+ {{- end -}}
+</ul>
--- a/themes/learn/static/css/custom.css Mon Jan 14 22:44:31 2019 -0600
+++ b/themes/learn/static/css/custom.css Mon Jan 14 23:58:46 2019 -0600
@@ -2,3 +2,14 @@
margin: 0 !important;
width: 30px;
}
+
+/* stuff from the old pidgin.im */
+ul.condensed {
+ padding-bottom: 1em;
+ display: block;
+}
+
+.condensed LI {
+ width: 33%;
+ display: inline-block;
+}