Removed the need to hardcode language codes by adding metadata to the translations