We have a localized site with separate public directories. I'm looking for a method to handle image uploads for the different asset paths.
For example when uploading an asset within a particular locale, the image will be deposited in that public_*/uploads
folder.
I thought perhaps concatenating the {craft.locale}
in the asset path might work but it threw an error. I'm thinking that the locale doesn't change when selecting the language from the sidebar or asset dropdown.
I'm pretty stuck on this one and there doesn't seem to be any answers online. Any other ideas or solutions would be appreciated.