I see on https://middlemanapp.com/advanced/localization/#localizing-paths that you can localize a URL for a file in the top level of your site. However, say I have the following:
localizable/
|- some/
| |- file.en.html
| +- file.es.html
+- another/
|- file.en.html
+- file.es.html
I’m not seeing how to specify these nested paths in the en.yml
and es.yml
locale files. I’ve tried a few different combinations in these files but with no results. Is it possible to specify locale paths for nested files such as these?
(I realize I could just use a translated URL to begin with. However, I’m thinking I’d like a language switcher on each page and would assume this could be more easily done if all the source files were consistently named. Maybe I’m wrong?)