-
-
Notifications
You must be signed in to change notification settings - Fork 681
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: enable i18n support for AsyncAPI website (#2184)
* add custom i18n link Signed-off-by: Ansh Goyal <[email protected]> * fix link.js Signed-off-by: Ansh Goyal <[email protected]> * Enable i18n Signed-off-by: Ansh Goyal <[email protected]> * Fix type error Signed-off-by: Ansh Goyal <[email protected]> * change select value Signed-off-by: Ansh Goyal <[email protected]> * make changes to LanguageSelect Signed-off-by: Ansh Goyal <[email protected]> * add changes Signed-off-by: Ansh Goyal <[email protected]> * add comments and fix router Signed-off-by: Ansh Goyal <[email protected]> * remove unused import Signed-off-by: Ansh Goyal <[email protected]> * updated js doc comments * update jsdoc comments Signed-off-by: Ansh Goyal <[email protected]> * add navbar and centered logo Signed-off-by: Ansh Goyal <[email protected]> * add infinite loop fix Signed-off-by: Ansh Goyal <[email protected]> * update UI of LanguageSelect --------- Signed-off-by: Ansh Goyal <[email protected]> Co-authored-by: Akshat Nema <[email protected]> Co-authored-by: Akshat Nema <[email protected]@Akshats-MacBook-Pro.local> Co-authored-by: akshatnema <[email protected]>
- Loading branch information
1 parent
bbc5760
commit 7543a56
Showing
6 changed files
with
93 additions
and
264 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
const i18nPaths = { | ||
en: [ | ||
"", //Homepage Route | ||
"/tools/cli" | ||
], | ||
de: [ | ||
"", //Homepage Route | ||
"/tools/cli" | ||
] | ||
}; | ||
|
||
export default i18nPaths; |
Oops, something went wrong.