I have a multilaguage project. Already changed Lanaguage Selector to “Dropdown”… usinlg $this->Type = “DROPDOWN”; in Language_Load.
I would love now to have Flags instead of “en” “es” (Or both)
also “english” and “spanish” instead of “en” “es” on mouse over… but that is secondary…
I have already de png of each language… but I can’t fond where change that…Any clue?
You may use Page_Foot server event in order to customize the language selector that suits your needs.Please read Server Events and Client Scripts topic from PHPMaker Help menu for more info and examples.
Try something like this:> $(‘a[data-language]’).each(function() {
$(this).html(‘’);
});
Explain: I have to rename the flags (Before es;en now es-ES;en-US) beacuse “…internationalization, the language ID of the language files must be a locale identifier using RFC 4646 language tags”… but the dropdown is broken… so I can´t select between engish/spanish anymoreIt was a Global Statup Script