[FEATURE] Add argument with page uid for building language menu.

This feature will be helpfull if you need to build language menu for another page, not for current only.
Please move that whole block to parseLanguageMenu, then you can use pageUid as a local variable in that method