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

Improve folder hierarchy when dealing with multilingual website #123

Open
PubliAlex opened this issue Jan 6, 2023 · 0 comments
Open

Improve folder hierarchy when dealing with multilingual website #123

PubliAlex opened this issue Jan 6, 2023 · 0 comments

Comments

@PubliAlex
Copy link
Contributor

PubliAlex commented Jan 6, 2023

Hello,

I want to discuss about the idea to improve the hierarchy of folder when you deal with a multilanguage website.

Actually we have this.

If you directly reference the filename in file="", you have it create a myfile.{locale}.htm
If you put the file in a folder, you have .{locale}myfolder/myfile.htm

It was completely understandable when you were with october 1.x and limited with just one level of folders.

Now the problem is removed, it would be far better in my opinion to have something like this.

If you reference a single file : {locale}/myfile.htm
If you reference a file in a folder : {locale}/myfolder/myfile.htm

It's easier to read, it's more consistent, and when you have a new language coming, you just have to clone the base locale folder, and translate all files in it.

What do you think about it ? To support old system, an option should probably be added in settings asking what is the prefered way to manage files

Best regards,

Alex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants