Added multi language support for document site#272
Open
Metallist1 wants to merge 21 commits intomainfrom
Open
Conversation
* added simple support * Grouped tranlsations * Saving progress * Changed crowdin path and localized content to include whats-new * Added changes to create dynamic staticapp and dynamic language population and a custon 404 to allow for easier language selection and dynamic redirection to home * Started standardising scripts. * Saving progress. Split up some responsabilities. Renamed folders to be more accurate. Fixed redirects. * Added a way to sync files. * Removed old script * Started documentation --------- Co-authored-by: Nedas <nedas.surkus@tabulareditor.com>
4cbf5b6 to
1c32d3a
Compare
…irects and updated readme files. General clean up. Added missing support for whats-new.
…ng for docfx. Added a trailing line fix
…abularEditor/TabularEditorDocs into feature/multilang-support_5604
Metallist1
commented
Mar 2, 2026
Metallist1
commented
Mar 2, 2026
Metallist1
commented
Mar 2, 2026
Metallist1
commented
Mar 2, 2026
Metallist1
commented
Mar 2, 2026
Metallist1
commented
Mar 2, 2026
Metallist1
commented
Mar 2, 2026
Metallist1
commented
Mar 2, 2026
Metallist1
commented
Mar 2, 2026
Metallist1
commented
Mar 2, 2026
Metallist1
commented
Mar 2, 2026
Metallist1
commented
Mar 2, 2026
Metallist1
commented
Mar 2, 2026
Metallist1
commented
Mar 2, 2026
Metallist1
commented
Mar 2, 2026
otykier
reviewed
Mar 3, 2026
added 3 commits
March 3, 2026 10:57
…s point ot the newest version
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://delightful-mud-081affe03-272.westeurope.azurestaticapps.net |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added multi language support
Redone how docfx is generated. Switched to a python script.
Added a language picker.
Added a dynamic way to populate language picker. Creating a folder and adding a language to a language manifesto allows you to insert a new language without modifying other files.
Added a banner for languages which states "This text is made by AI and has not been reviewed by a human".
Adjusted redirections and modified 404 heavily to account for legacy urls. (/getting-started/index.html redirects to /en/getting-started/index.html).
Adjusted 404 to also distinguish between accessing an unsupported language and a wrong page. Example, we do not support french so if you navigate to "/fr/getting-started/index.html", 404 promts the user to see all supported languages.
If you navigate to a non existent page eg. /en/not-getting-started/index.html. It tells the user, the page does not exist.
Added SEO support for language switching.
Added a way to translate the header using _ui-strings.json. All header elements are supported for the translation.
Added a way to sync content with existing translations. Avoiding potential stale data. If a file is edited in the content - it will be replaced in the translation. If a file is deleted in translation - it will be regenerated on build.
Pipelines have been adjusted to account for the new multi languages.
Added a fallback option to languages that defaults to english.
Fixed broken header search bar
Note: In this PR i did not include the english fallback to any translations as they would be automatically generated on run. Additionally, they distract from the purpose of this review as it would be duplicating the website 3 times. I encourage to create a separate PR with the generated english fallbacks once we are ready to use crowdin.
Additional things: