convert i18n files to JSON to support Weblate

```python
import yaml, json, glob

for f in glob.glob('*.yaml'):
    print(f)
    with open(f) as fp:
        data = yaml.safe_load(fp)
    with open(f.replace('.yaml', '.json'), 'w', encoding='utf8') as fp:
        json.dump(data, fp, indent=2, ensure_ascii=False)
```
parent f76ab9e6
Pipeline #160820278 failed with stages
in 15 minutes and 3 seconds
[
{
"id": "about",
"translation": "عن"
},
{
"id": "translation",
"translation": "الترجمة"
},
{
"id": "gcseLabelShort",
"translation": "ابحث"
}
]
\ No newline at end of file
- id: about
translation: عن
- id: translation
translation: الترجمة
- id: gcseLabelShort
translation: ابحث
[
{
"id": "dateFormat",
"translation": "2 de Janeiro de 2006"
},
{
"id": "shortdateFormat",
"translation": "02/Jan/2006 15:04:05"
},
{
"id": "postedOnDate",
"translation": "Postado em {{ .Count }}"
},
{
"id": "lastModified",
"translation": "(Ultima modificação em {{ .Count }})"
},
{
"id": "translationsLabel",
"translation": "Outras linguagens: "
},
{
"id": "translationsSeparator",
"translation": ", "
},
{
"id": "readMore",
"translation": "Saiba mais"
},
{
"id": "olderPosts",
"translation": "Posts antigos"
},
{
"id": "newerPosts",
"translation": "Posts novos"
},
{
"id": "previousPost",
"translation": "Post anterior"
},
{
"id": "nextPost",
"translation": "Próximo Post"
},
{
"id": "readTime",
"translation": "minutos"
},
{
"id": "words",
"translation": "palavras"
},
{
"id": "pageNotFound",
"translation": "Opa, a página não existe"
},
{
"id": "poweredBy",
"translation": "<a href=\"http://gohugo.io\">Hugo v{{ .Hugo.Version }}</a> powered &nbsp;&bull;&nbsp; Tema por <a href=\"http://deanattali.com/beautiful-jekyll/\">Beautiful Jekyll</a> adaptado para <a href=\"https://github.com/halogenica/beautifulhugo\">Beautiful Hugo</a>"
},
{
"id": "toggleNavigation",
"translation": "Ver navegação"
},
{
"id": "languageSwitcherLabel",
"translation": "Idioma"
},
{
"id": "gcseLabelShort",
"translation": "Buscar"
},
{
"id": "gcseLabelLong",
"translation": "Buscar {{ .Site.Title }}"
},
{
"id": "gcseClose",
"translation": "Fechar"
},
{
"id": "noComment",
"translation": "Sem comentários"
},
{
"id": "oneComment",
"translation": "comentário"
},
{
"id": "moreComment",
"translation": "comentários"
},
{
"id": "useMarkdown",
"translation": "Você pode usar sintaxe MarkDown"
},
{
"id": "yourName",
"translation": "Seu nome"
},
{
"id": "yourEmail",
"translation": "Seu email"
},
{
"id": "yourWebsite",
"translation": "Seu website"
},
{
"id": "show",
"translation": "Mostrar"
},
{
"id": "comments",
"translation": "comentários"
},
{
"id": "seeAlso",
"translation": "Veja também"
}
]
\ No newline at end of file
# Content
- id: dateFormat
translation: "2 de Janeiro de 2006"
- id: shortdateFormat
translation: "02/Jan/2006 15:04:05"
- id: postedOnDate
translation: "Postado em {{ .Count }}"
- id: lastModified
translation: "(Ultima modificação em {{ .Count }})"
- id: translationsLabel
translation: "Outras linguagens: "
- id: translationsSeparator
translation: ", "
- id: readMore
translation: "Saiba mais"
- id: olderPosts
translation: "Posts antigos"
- id: newerPosts
translation: "Posts novos"
- id: previousPost
translation: "Post anterior"
- id: nextPost
translation: "Próximo Post"
- id: readTime
translation: "minutos"
- id: words
translation: "palavras"
# 404 page
- id: pageNotFound
translation: "Opa, a página não existe"
# Footer
- id: poweredBy # Accepts HTML
translation: '<a href="http://gohugo.io">Hugo v{{ .Hugo.Version }}</a> powered &nbsp;&bull;&nbsp; Tema por <a href="http://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a> adaptado para <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a>'
# Navigation
- id: toggleNavigation
translation: "Ver navegação"
- id: languageSwitcherLabel
translation: "Idioma"
- id: gcseLabelShort
translation: "Buscar"
- id: gcseLabelLong
translation: "Buscar {{ .Site.Title }}"
- id: gcseClose
translation: "Fechar"
- id: noComment
translation: "Sem comentários"
- id: oneComment
translation: "comentário"
- id: moreComment
translation: "comentários"
- id: useMarkdown
translation: "Você pode usar sintaxe MarkDown"
- id: yourName
translation: "Seu nome"
- id: yourEmail
translation: "Seu email"
- id: yourWebsite
translation: "Seu website"
- id: show
translation: "Mostrar"
- id: comments
translation: "comentários"
# Related posts
- id: seeAlso
translation: "Veja também"
[
{
"id": "about",
"translation": "O aplikaci"
},
{
"id": "translation",
"translation": "Překlad"
},
{
"id": "gcseLabelShort",
"translation": "Hledat"
}
]
\ No newline at end of file
- id: about
translation: O aplikaci
- id: translation
translation: Překlad
- id: gcseLabelShort
translation: Hledat
[
{
"id": "about",
"translation": "über"
},
{
"id": "apps",
"translation": "apps"
},
{
"id": "code",
"translation": "code"
},
{
"id": "archive",
"translation": "archiv"
},
{
"id": "contact",
"translation": "kontakt"
},
{
"id": "team",
"translation": "team"
},
{
"id": "press",
"translation": "presse"
},
{
"id": "archivedApps",
"translation": "Archivierte Apps"
},
{
"id": "tutorials",
"translation": "Tutorials"
},
{
"id": "dateFormat",
"translation": "02.01.2006"
},
{
"id": "shortdateFormat",
"translation": "2 Jan, 2006 15:04:05"
},
{
"id": "postedOnDate",
"translation": "Gepostet am {{ .Count }}"
},
{
"id": "lastModified",
"translation": "(Zuletzt geändert am {{ .Count }})"
},
{
"id": "translationsLabel",
"translation": "Andere Sprachen: "
},
{
"id": "translationsSeparator",
"translation": ", "
},
{
"id": "readMore",
"translation": "Mehr"
},
{
"id": "olderPosts",
"translation": "Ältere Posts"
},
{
"id": "newerPosts",
"translation": "Neuere Posts"
},
{
"id": "previousPost",
"translation": "Letzter Post"
},
{
"id": "nextPost",
"translation": "Nächster Post"
},
{
"id": "readTime",
"translation": "Minuten"
},
{
"id": "words",
"translation": "Wörter"
},
{
"id": "pageNotFound",
"translation": "Ups, diese Seite existiert nicht. (404 Error)"
},
{
"id": "poweredBy",
"translation": "<a href=\"http://gohugo.io\">Hugo v{{ .Hugo.Version }}</a> powered &nbsp;&bull;&nbsp; Theme by <a href=\"http://deanattali.com/beautiful-jekyll/\">Beautiful Jekyll</a> adapted to <a href=\"https://github.com/halogenica/beautifulhugo\">Beautiful Hugo</a>"
},
{
"id": "toggleNavigation",
"translation": "Navigation"
},
{
"id": "languageSwitcherLabel",
"translation": "Sprache"
},
{
"id": "gcseLabelShort",
"translation": "Suche"
},
{
"id": "gcseLabelLong",
"translation": "Suche {{ .Site.Title }}"
},
{
"id": "gcseClose",
"translation": "Schließen"
},
{
"id": "noComment",
"translation": "Kein Kommentar"
},
{
"id": "oneComment",
"translation": "Kommentar"
},
{
"id": "moreComment",
"translation": "Kommentare"
},
{
"id": "useMarkdown",
"translation": "Sie können Markdown-Syntax verwenden"
},
{
"id": "yourName",
"translation": "Irh Name"
},
{
"id": "yourEmail",
"translation": "Ihre Emailadresse"
},
{
"id": "yourWebsite",
"translation": "Ihre Website"
},
{
"id": "show",
"translation": "Zeige"
},
{
"id": "comments",
"translation": "Kommentare"
},
{
"id": "seeAlso",
"translation": "Siehe auch"
},
{
"id": "blogPosts",
"translation": "Blogeinträge"
},
{
"id": "onGitHub",
"translation": "auf GitHub"
},
{
"id": "onGitLab",
"translation": "auf GitLab"
},
{
"id": "webSite",
"translation": "Webseite"
},
{
"id": "translation",
"translation": "Übersetzung"
},
{
"id": "translateOn",
"translation": "übersetzen auf"
},
{
"id": "edit",
"translation": "Bearbeiten"
},
{
"id": "editOn",
"translation": "Bearbeiten auf"
},
{
"id": "metadata",
"translation": "Metadaten"
},
{
"id": "description",
"translation": "Beschreibung"
},
{
"id": "sourceCode",
"translation": "Quellcode"
},
{
"id": "Blog",
"translation": "Blog"
},
{
"id": "Export Information",
"translation": "Exportinformation"
},
{
"id": "How You Can Work With Us",
"translation": "Wie Sie mit uns arbeiten können"
},
{
"id": "About Guardian Project",
"translation": "Über Guardian Project"
},
{
"id": "Partners and Funding",
"translation": "Partner und Finanzierung"
},
{
"id": "Press",
"translation": "Presse"
},
{
"id": "Services",
"translation": "Services"
},
{
"id": "Signing Keys",
"translation": "Signing Keys"
},
{
"id": "Team",
"translation": "Team"
},
{
"id": "Security You Can Trust",
"translation": "Sicherheit, der Sie vertrauen können"
},
{
"id": "Archived Apps",
"translation": "Archivierte Apps"
},
{
"id": "Live Chatrooms",
"translation": "Live-Chatrooms"
},
{
"id": "Contact",
"translation": "Kontakt"
},
{
"id": "Jobs and Internships",
"translation": "Jobs and Praktika"
}
]
\ No newline at end of file
# Menu
- id: about
translation: über
- id: apps
translation: apps
- id: code
translation: code
- id: archive
translation: archiv
- id: contact
translation: kontakt
- id: team
translation: team
- id: press
translation: presse
- id: archivedApps
translation: Archivierte Apps
- id: tutorials
translation: Tutorials
# Content
- id: dateFormat
translation: "02.01.2006"
- id: shortdateFormat
translation: "2 Jan, 2006 15:04:05"
- id: postedOnDate
translation: "Gepostet am {{ .Count }}"
- id: lastModified
translation: "(Zuletzt geändert am {{ .Count }})"
- id: translationsLabel
translation: "Andere Sprachen: "
- id: translationsSeparator
translation: ", "
- id: readMore
translation: "Mehr"
- id: olderPosts
translation: "Ältere Posts"
- id: newerPosts
translation: "Neuere Posts"
- id: previousPost
translation: "Letzter Post"
- id: nextPost
translation: "Nächster Post"
- id: readTime
translation: "Minuten"
- id: words
translation: "Wörter"
# 404 page
- id: pageNotFound
translation: "Ups, diese Seite existiert nicht. (404 Error)"
# Footer
- id: poweredBy # Accepts HTML
translation: '<a href="http://gohugo.io">Hugo v{{ .Hugo.Version }}</a> powered &nbsp;&bull;&nbsp; Theme by <a href="http://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a> adapted to <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a>'
# Navigation
- id: toggleNavigation
translation: "Navigation"
- id: languageSwitcherLabel
translation: "Sprache"
- id: gcseLabelShort
translation: "Suche"
- id: gcseLabelLong
translation: "Suche {{ .Site.Title }}"
- id: gcseClose
translation: "Schließen"
- id: noComment
translation: "Kein Kommentar"
- id: oneComment
translation: "Kommentar"
- id: moreComment
translation: "Kommentare"
- id: useMarkdown
translation: "Sie können Markdown-Syntax verwenden"
- id: yourName
translation: "Irh Name"
- id: yourEmail
translation: "Ihre Emailadresse"
- id: yourWebsite
translation: "Ihre Website"
- id: show
translation: "Zeige"
- id: comments
translation: "Kommentare"
# Related posts
- id: seeAlso
translation: "Siehe auch"
# appslist
- id: blogPosts
translation: Blogeinträge
- id: onGitHub
translation: "auf GitHub"
- id: onGitLab
translation: "auf GitLab"
- id: webSite
translation: "Webseite"
- id: translation
translation: "Übersetzung"
- id: translateOn
translation: "übersetzen auf"
- id: edit
translation: "Bearbeiten"
- id: editOn
translation: "Bearbeiten auf"
- id: metadata
translation: "Metadaten"
- id: description
translation: "Beschreibung"
- id: sourceCode
translation: "Quellcode"
# page titles
- id: Blog
translation: Blog
- id: Export Information
translation: Exportinformation
- id: How You Can Work With Us
translation: Wie Sie mit uns arbeiten können
- id: About Guardian Project
translation: Über Guardian Project
- id: Partners and Funding
translation: Partner und Finanzierung
- id: Press
translation: Presse
- id: Services
translation: Services
- id: Signing Keys
translation: Signing Keys
- id: Team
translation: Team
- id: Security You Can Trust
translation: Sicherheit, der Sie vertrauen können
- id: Archived Apps
translation: Archivierte Apps
- id: Live Chatrooms
translation: Live-Chatrooms
- id: Contact
translation: Kontakt
- id: Jobs and Internships
translation: Jobs and Praktika
[
{
"id": "about",
"translation": "Σχετικά"
},
{
"id": "translation",
"translation": "Μεταφράση"
},
{
"id": "gcseLabelShort",
"translation": "Αναζήτηση"
}
]
\ No newline at end of file
- id: about
translation: Σχετικά
- id: translation
translation: Μεταφράση
-