call the function re.compile with 2 arguments, string '^%s/', where '%s' is replaced with language_code and re.UNICODE, substitute the result for regex_compiled.
regex_compiled = re . compile ( '^%s/' % language_code , re . UNICODE )