French Language Added
This commit is contained in:
1 parent
ebcb783207
commit
8b4576c6f4
3 files changed
+49
No files matched your search
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -99,6 +99,12 @@ function newSuperalgosDocsFooter() {
|
||||
}
|
||||
HTML = HTML + '"></a>'
|
||||
|
||||
HTML = HTML + '<a href="#" onClick="UI.projects.superalgos.spaces.docsSpace.changeLanguage(\'FR\')"><img src="Images/Languages/FR.png" title="French" class="docs-footer-language'
|
||||
if (languageCode === 'FR') {
|
||||
HTML = HTML + '-selected'
|
||||
}
|
||||
HTML = HTML + '"></a>'
|
||||
|
||||
HTML = HTML + '<a href="#" onClick="UI.projects.superalgos.spaces.docsSpace.changeLanguage(\'CN\')"><img src="Images/Languages/CN.png" title="Simplified Chinese-Mandarin" class="docs-footer-language'
|
||||
if (languageCode === 'CN') {
|
||||
HTML = HTML + '-selected'
|
||||
|
||||
@@ -28,6 +28,10 @@ function newSuperalgosUtilitiesLanguages() {
|
||||
languageLabel = 'German'
|
||||
break
|
||||
}
|
||||
case 'FR': {
|
||||
languageLabel = 'French'
|
||||
break
|
||||
}
|
||||
case 'CN': {
|
||||
languageLabel = 'Simplified Chinese-Mandarin'
|
||||
break
|
||||
|
||||
Reference in new issue
Block a user