add trim to entered translations and keys