Skip to content

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