🌐 feat(i18n): overhaul translation system & add languages (#145)
Revamp the existing translation system, simplifying management and adding several new languages. The new system reads from TOML files in the `/i18n` directory and improves template structures. It also enhances customisation options and robustness by providing fallbacks and modularity. - Implement a new, streamlined translation macro. - Load translations from `/i18n` TOML files. - Remove redundant configuration requirements. - Refactor templates to align with new i18n system. - Add support for Hindi, Japanese, Russian, Portuguese, Chinese, Italian, German, Ukranian, Korean, and French languages. - Credit Thomas Weitzel (@thomasweitzel) for inspiration.
This commit is contained in:
56
i18n/it.toml
Normal file
56
i18n/it.toml
Normal file
@@ -0,0 +1,56 @@
|
||||
language_name = "Italiano" # Shown in language picker for multi-language sites.
|
||||
date_locale = "it_IT"
|
||||
full_stop = "." # Used at the end of a sentence.
|
||||
|
||||
# Menu items.
|
||||
# Should match the names in config.extra.menu.
|
||||
blog = "blog"
|
||||
archive = "archivio"
|
||||
tags = "tag"
|
||||
projects = "progetti"
|
||||
|
||||
# Navigation.
|
||||
read_more = "Leggi di più"
|
||||
post = "post"
|
||||
posts = "post" # Plural of "post".
|
||||
prev = "Precedente" # As in "Previous" page.
|
||||
next = "Successivo" # As in "Next" page.
|
||||
of = "di" # E.g. Page 1 "of" 3
|
||||
all_posts = "Tutti i post"
|
||||
all_tags = "Tutti i tag"
|
||||
|
||||
# Post metadata.
|
||||
draft = "BOZZA"
|
||||
min_read = "min di lettura"
|
||||
words = "parole"
|
||||
last_updated_on = "Ultimo aggiornamento il"
|
||||
see_changes = "Vedi modifiche"
|
||||
|
||||
# Post body.
|
||||
table_of_contents = "Indice"
|
||||
load_comments = "Carica commenti"
|
||||
|
||||
# Footer: Powered by Zola and tabi.
|
||||
powered_by = "Alimentato da"
|
||||
and = "e"
|
||||
site_source = "Codice del sito"
|
||||
|
||||
# 404 error.
|
||||
page_missing = "La pagina che hai richiesto sembra non esistere"
|
||||
translation_missing = "o non è ancora stata tradotta nella tua lingua"
|
||||
check_url = "Controlla l'URL per errori o"
|
||||
go_home = "torna alla homepage"
|
||||
|
||||
# For multilingual quote shortcode.
|
||||
# https://welpo.github.io/tabi/blog/shortcodes/#multilingual-quotes
|
||||
show_original_quote = "Mostra citazione originale"
|
||||
show_translation = "Mostra traduzione"
|
||||
open_quotation_mark = "«"
|
||||
close_quotation_mark = "»"
|
||||
|
||||
# Translations for stylised Atom feed.
|
||||
# https://welpo.github.io/tabi/atom.xml
|
||||
# Must contain "About Feeds"; it will become a link.
|
||||
about_feeds = "Questo è un feed web, noto anche come feed Atom. Iscriviti copiando l'URL dalla barra degli indirizzi nel tuo lettore di notizie. Visita About Feeds per saperne di più e iniziare. È gratuito."
|
||||
visit_the_site = "Visita il sito web"
|
||||
recent_posts = "Post recenti"
|
Reference in New Issue
Block a user