tattersoftware / codeigniter4-assets

Asset handling for CodeIgniter 4
MIT License
50 stars 12 forks source link

{locale} support #5

Closed rodolfodn closed 4 years ago

rodolfodn commented 4 years ago

The current version do not support localised uris.

image

image

MGatner commented 4 years ago

I’m not sure it is a given that the desired behavior is locale-specific assets. By default the library will use uri_string() if none is specified, so maybe that is trimming the locale? I will look into possible solutions but you can also always specific the route to be used with Assets->setRoute()

rodolfodn commented 4 years ago

Well, I've made a pull request with my possible solution.

MGatner commented 4 years ago

Thanks! I’m mobile now but I’ll check it out ASAP

MGatner commented 4 years ago

Resolved by #6