I'm try to add the selected class to this buttons, to inform user which language is acctive allready. First think i had is to check the code from demo version, but i saw that demo have no options i'm interesting for - both buttons of language version looks the same when user try to change language version of the site. Could you help me what i need to do when i want to begin work of this problem ? I have some ideas but cant finish it , for example i want to create function similar to this :
public function throwMenu( $iType, $iPageCurrent = null, $iDepthLimit = 1 ){
when i'm switching the page for subpage, url is also changing to the name of subpage, and the lang variable disapears from url. It's possible to keep selected class even when the page is switching ? Then user will know around what language he's working allready.