-
Notifications
You must be signed in to change notification settings - Fork 468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multi-lang-feature added: first french lang is added #412
Conversation
@saghul |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some comments, please take a look!
docusaurus.config.js
Outdated
@@ -9,7 +9,7 @@ module.exports = { | |||
organizationName: "jitsi", | |||
projectName: "handbook", | |||
favicon: "img/favicon.png", | |||
onBrokenLinks: "throw", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please don't change this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@saghul
My purpose in changing this keyword was, to not get errors that block the code when running it. So I changed "throw" to "log" so that all the errors are logged only.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@saghul
I have edited and made the code back to original for the config file
@@ -0,0 +1,432 @@ | |||
{"Get started!": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where is this file used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is used to change the text/Strings in the index.js file inside the src folder from English to French
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file was made by the docusaurus i18n translation API
@@ -0,0 +1,18 @@ | |||
--- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this here? Also, it's in English still.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know if we need it here.
I guess I didn't change this file's language. I will change this file to French and then push it.
@saghul |
Just FYI, some people in the team have reservations about adding this since it's not clear how it can be maintained going forward. We are going to have a discussion about this soon. |
oh...ok! Hopefully, this PR might help the jitsi team members to understand the internationalization process in docusaurus quicker. |
Thanks for understanding. Yes the docusaurus update can go in a separate PR no problem! |
@saghul |
Issue Reference: #408
Changes made in the handbook files
Screen.Recording.2023-01-08.at.18.50.06.mov