Switch Prestashop Language programmatically -


i have got module, uses displaytop hook actions. after switch language desired exists in system. found method tools::switchlanguage can't figure out how use properly. clues?

there module that: blocklanguages. can either use module or take @ code see how it's done. it's pretty easy can implement wherever want.


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -