From 8b4576c6f42b587d04f9e74665c59c5e5601b381 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Tue, 11 May 2021 16:00:00 +0200 Subject: [PATCH] French Language Added --- .../docs-languages-009-docs-in-french.json | 39 +++++++++++++++++++ .../Superalgos/UI/Spaces/Docs-Space/Footer.js | 6 +++ Projects/Superalgos/UI/Utilities/Languages.js | 4 ++ 3 files changed, 49 insertions(+) create mode 100644 Projects/Superalgos/Schemas/Docs-Topics/docs-languages-009-docs-in-french.json diff --git a/Projects/Superalgos/Schemas/Docs-Topics/docs-languages-009-docs-in-french.json b/Projects/Superalgos/Schemas/Docs-Topics/docs-languages-009-docs-in-french.json new file mode 100644 index 000000000..638f1f1c5 --- /dev/null +++ b/Projects/Superalgos/Schemas/Docs-Topics/docs-languages-009-docs-in-french.json @@ -0,0 +1,39 @@ +{ + "topic": "Docs Languages", + "pageNumber": "8", + "type": "Docs In French", + "definition": { + "text": "The Docs pages of Superalgos and other projects integrated are originally written in English. The system allows users to search and browse pages in other languages as well, as long as users have previously contributed the corresponding translations.", + "updated": 1613820592771, + "translations": [ + ] + }, + "paragraphs": [ + { + "style": "Text", + "text": "English is considered the default language. When you switch to a different language, the system attempts to show the content in the new language. However, if the translation is not yet available, it shows the English version instead.", + "updated": 1613820612132, + "translations": [ + ] + }, + { + "style": "Text", + "text": "Node types, variable names, the title of pages in the Docs, and a few more elements of Superalgos may not be translated, as they are unique identifiers of the said elements. You will always get those in English.", + "translations": [ + ] + }, + { + "style": "Success", + "text": "If you wish to contribute translations, read the How to Contribute Translations page." + }, + { + "style": "Success", + "text": "To switch languages, click on the flags on the footer of the Docs." + }, + { + "style": "Note", + "text": "You may only add or delete pages to the Docs when the language is set to English.", + "updated": 1613820648230 + } + ] +} \ No newline at end of file diff --git a/Projects/Superalgos/UI/Spaces/Docs-Space/Footer.js b/Projects/Superalgos/UI/Spaces/Docs-Space/Footer.js index 5ed8aabe7..19187a0c5 100644 --- a/Projects/Superalgos/UI/Spaces/Docs-Space/Footer.js +++ b/Projects/Superalgos/UI/Spaces/Docs-Space/Footer.js @@ -99,6 +99,12 @@ function newSuperalgosDocsFooter() { } HTML = HTML + '">' + HTML = HTML + '' + HTML = HTML + '