Fixes typo (locals instead of locales) in renderer/swig