New Language Added: Italian
This commit is contained in:
1 parent
2f1e36c8bc
commit
f587e21deb
3 files changed
+32
No files matched your search
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"topic": "Docs Languages",
|
||||
"pageNumber": "4",
|
||||
"type": "Docs In Italian",
|
||||
"definition": {
|
||||
"text": "The Docs articles are fully written in English. The system allow users to search / browse articles in other languages as well, as long as other users contribute translations."
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Superalgos and any other integrated project are written in English, since English is considered the default language. Node types, variable names, etc., all is originally in English language. "
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "The Docs content can be translated by anyone willing to contribute some time doing so. That helps users to read the contents of the Docs in their native language. "
|
||||
},
|
||||
{
|
||||
"style": "Success",
|
||||
"text": " Users can switch between languages using the links provided at the footer of every page at the Docs. ",
|
||||
"updated": 1609085068937
|
||||
},
|
||||
{
|
||||
"style": "Note",
|
||||
"text": "You can only add or delete pages to the Docs if you are navigating it in English, because English is the default language, and from there pages are later translated. "
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -58,6 +58,7 @@ function newSuperalgosDocsFooter() {
|
||||
HTML = HTML + '<li><a href="#" onClick="UI.projects.superalgos.spaces.docsSpace.changeLanguage(\'EN\')">English</a></li>'
|
||||
HTML = HTML + '<li><a href="#" onClick="UI.projects.superalgos.spaces.docsSpace.changeLanguage(\'ES\')">Spanish</a></li>'
|
||||
HTML = HTML + '<li><a href="#" onClick="UI.projects.superalgos.spaces.docsSpace.changeLanguage(\'RU\')">Russian</a></li>'
|
||||
HTML = HTML + '<li><a href="#" onClick="UI.projects.superalgos.spaces.docsSpace.changeLanguage(\'IT\')">Italian</a></li>'
|
||||
HTML = HTML + '</ul>'
|
||||
HTML = HTML + '</div>'
|
||||
|
||||
|
||||
@@ -20,6 +20,10 @@ function newSuperalgosUtilitiesLanguages() {
|
||||
languageLabel = 'Russian'
|
||||
break
|
||||
}
|
||||
case 'IT': {
|
||||
languageLabel = 'Italian'
|
||||
break
|
||||
}
|
||||
}
|
||||
return languageLabel
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user