aboutsummaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-03-30 02:02:57 -0700
committerFuwn <[email protected]>2023-03-30 02:02:57 -0700
commit7e1c907be3612b77f66f93b4dcfa388aad201430 (patch)
treed8385027739070f7c331a1ee0bec1adc60050c42 /content
parentfeat(router): add uwufy demo (diff)
downloadlocus-7e1c907be3612b77f66f93b4dcfa388aad201430.tar.xz
locus-7e1c907be3612b77f66f93b4dcfa388aad201430.zip
feat(router): add translation engine
Diffstat (limited to 'content')
-rw-r--r--content/static/translate.gmi11
-rw-r--r--content/templates/partials/footer.hbs2
2 files changed, 13 insertions, 0 deletions
diff --git a/content/static/translate.gmi b/content/static/translate.gmi
new file mode 100644
index 0000000..4542114
--- /dev/null
+++ b/content/static/translate.gmi
@@ -0,0 +1,11 @@
+# Translate
+
+This Gemini capsule contains a **global** translation engine (using DeepL)!
+
+To translate any page into your language of choice, just add the "translate" query parameter to the URL.
+
+For example, to translate this page into French, you would go to: <gemini://fuwn.me/translate?language=fr>
+
+=> /translate?language=fr Try it!
+
+Before visiting a page in another language, make note of your Gemini client. Not all Gemini clients have support for other typefaces, encodings, etc., so languages with non-Latin alphabets may not display correctly.
diff --git a/content/templates/partials/footer.hbs b/content/templates/partials/footer.hbs
index 4e98866..4be4242 100644
--- a/content/templates/partials/footer.hbs
+++ b/content/templates/partials/footer.hbs
@@ -24,6 +24,8 @@ Hits: {{ hits }}
=> http://fuwnme4wbs5x36jjf2usedw2zscozwhazykhyfkjsmudtb7egs3mb7yd.onion Tor
=> http://fuwn.i2p/?i2paddresshelper=umaux4l3q3j33pfsz3mzxk6o5c7f6lu47wln5vo5nqvv5nyufgra.b32.i2p I2P
+=> /translate Translate this page to your language of choice!
+
Copyright (C) 2021-2022 Fuwn
=> /licensing Further and more explicit licensing terms can be found here