Move the function for getting the language code associated with the user manual into a utility function (from the generated rna_manual_reference.py). This allows other parts of Blender to create a manual URL based on the current locale preferences and environment. Ref !104494