I found a reference for multi language for my website without using php. I had 2 languages: english & bahasa. Default is english when I choose bahasa and i refresh the page, it's back to english again as I want it to stay on the selected language
I couldn't figure out anyway as I'm still learning about jQuery and others.
changeLanguage("en");
$("#id_button").click(function(){
changeLanguage("id");
});
$("#eng_button").click(function(){
changeLanguage("en");
});
I expect that when I select bahasa dan when the page refresh or move to other pages, it will remain on my selected language.