Adding adaptative space saving to localized string inputs