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

Adding the capability of translating files by append language code. #75

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

pedelgado
Copy link

@pedelgado pedelgado commented Oct 17, 2024

Adding the capability of translating files by append language code.

For instance, adding the following files to documents:

  • test.html
  • test--fr.html
  • test--es.html

Will result in displaying just "test" in document list, but with "es" and "fr" translations found.

image

Default site language will load base file "test.html". If language is swiched, the system will try to load "test--**.html" depending on current language. If there is no file available for current language it will load default 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

Successfully merging this pull request may close these issues.

1 participant