Skip to content

Improve folder hierarchy when dealing with multilingual website #123

@PubliAlex

Description

@PubliAlex

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions