You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: