Skip to content

Added multi language support for document site#272

Open
Metallist1 wants to merge 21 commits intomainfrom
feature/multilang-support_5604
Open

Added multi language support for document site#272
Metallist1 wants to merge 21 commits intomainfrom
feature/multilang-support_5604

Conversation

@Metallist1
Copy link
Collaborator

@Metallist1 Metallist1 commented Feb 27, 2026

  • 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:

  1. English will redirect to /en/. This is due to consistency and that maintaining "/" seemed like a lot more work than just having a unified system for all languages even if english is our main language.
  2. I did not add staticwebapp.config to gitignore due to maintaining legacy implementation. However, modifying it past this PR is no longer necessary as it will be automatically regenerated.
  3. I changed "Sign in" to "Main page" as I do not believe "Sign in" is accurate. This can be easily modified with modifying text in _ui_strings.json

Metallist1 and others added 7 commits February 27, 2026 14:41
* 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>
@Metallist1 Metallist1 force-pushed the feature/multilang-support_5604 branch from 4cbf5b6 to 1c32d3a Compare February 27, 2026 18:59
@Metallist1 Metallist1 marked this pull request as ready for review February 27, 2026 20:22
@Metallist1 Metallist1 requested a review from otykier March 2, 2026 10:40
@Metallist1 Metallist1 self-assigned this Mar 2, 2026
@Metallist1 Metallist1 requested a review from mlonsk March 2, 2026 10:40
@github-actions
Copy link

github-actions bot commented Mar 3, 2026

Azure Static Web Apps: Your stage site is ready! Visit it here: https://delightful-mud-081affe03-272.westeurope.azurestaticapps.net

@TabularEditor TabularEditor deleted a comment from github-actions bot Mar 3, 2026
@TabularEditor TabularEditor deleted a comment from github-actions bot Mar 3, 2026
@TabularEditor TabularEditor deleted a comment from github-actions bot Mar 3, 2026
@TabularEditor TabularEditor deleted a comment from github-actions bot Mar 3, 2026
@TabularEditor TabularEditor deleted a comment from github-actions bot Mar 3, 2026
@TabularEditor TabularEditor deleted a comment from github-actions bot Mar 3, 2026
@TabularEditor TabularEditor deleted a comment from github-actions bot Mar 3, 2026
@TabularEditor TabularEditor deleted a comment from github-actions bot Mar 3, 2026
@TabularEditor TabularEditor deleted a comment from github-actions bot Mar 3, 2026
@TabularEditor TabularEditor deleted a comment from github-actions bot Mar 3, 2026
@TabularEditor TabularEditor deleted a comment from github-actions bot Mar 3, 2026
@TabularEditor TabularEditor deleted a comment from github-actions bot Mar 3, 2026
@TabularEditor TabularEditor deleted a comment from github-actions bot Mar 3, 2026
@TabularEditor TabularEditor deleted a comment from github-actions bot Mar 3, 2026
@Metallist1 Metallist1 requested a review from otykier March 3, 2026 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants