Truncate long config
Updating admin locale func