Good catch! I've added some code to read the current language on init and update the links.