From a63b2174be4bb897d717034ed42e2b7676645deb Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 30 Mar 2023 20:11:20 -0700 Subject: feat(translation): add translation header --- content/static/translate.gmi | 11 ----------- content/static/translations.gmi | 13 +++++++++++++ 2 files changed, 13 insertions(+), 11 deletions(-) delete mode 100644 content/static/translate.gmi create mode 100644 content/static/translations.gmi (limited to 'content/static') diff --git a/content/static/translate.gmi b/content/static/translate.gmi deleted file mode 100644 index 4542114..0000000 --- a/content/static/translate.gmi +++ /dev/null @@ -1,11 +0,0 @@ -# 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: - -=> /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/static/translations.gmi b/content/static/translations.gmi new file mode 100644 index 0000000..3442a00 --- /dev/null +++ b/content/static/translations.gmi @@ -0,0 +1,13 @@ +# Translations + +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: + +=> /translations?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. + +Also, note that translating a page is a multi-pass process: all the link contents are individually translated, as well as the page itself. More so, the translation API that is being used is remote, so there is a delay in the translation process. If your client looks like it's frozen, it may just be taking a while to translate the page. -- cgit v1.2.3