How do I change a unit's name (for a specific language) so that it shows correctly in the game?

how to use this localizer for object and units