Skip to content
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

Tool appear to look for files in en folder #2

Open
limzykenneth opened this issue Jun 9, 2024 · 2 comments
Open

Tool appear to look for files in en folder #2

limzykenneth opened this issue Jun 9, 2024 · 2 comments

Comments

@limzykenneth
Copy link
Member

It seems the tool is looking for source files in the en folder where we don't keep English version in its own folder, based on the error I got below:

Error reading files: [Error: ENOENT: no such file or directory, scandir '../src/content/homepage/en'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'scandir',
  path: '../src/content/homepage/en'
}

Can this be modified to take account of that?

@koundinyad
Copy link
Collaborator

It is currently set up to follow the old folder structure. content/dir/en is used for source text reference. if all content folders can follow a standardized first child dir nesting, I can probably allow that in the config file as well

@koundinyad
Copy link
Collaborator

koundinyad commented Jun 20, 2024

Might also be an easier workaround to allow for a list of source directories, and get rid of exclude in config file

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

No branches or pull requests

2 participants