[localization] Fixes bug introduced by previous merge.