Added check to get_all_locales to avoid adding duplicate locales to array
Added check to get_all_locales to avoid adding duplicate locales to array

(cherry picked from commit 82527df55c02ba6a7ee653a47386758017564f10)

ex/godot,ex/godot,ex/godot,ex/godot,ex/godot,ex/godot,ex/godot,ex/godot