mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 07:37:19 +02:00
Use babylon and babel-traverse directly to find strings to translate
This commit is contained in:
parent
e3139eea2f
commit
d620f2e6dd
5 changed files with 145 additions and 34 deletions
|
@ -79,7 +79,6 @@ const siteConfig = {
|
|||
let languages;
|
||||
if (fs.existsSync("./languages.js")) {
|
||||
languages = require("./languages.js");
|
||||
siteConfig["en"] = require("./i18n/en.json");
|
||||
} else {
|
||||
languages = [
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue