---
title: "centos 本地化配置"
author: "chinacode"
date: "2010-08-21T00:26:14Z"
tags: []
categories: ["操作系统"]
slug: "centos"
draft: false
lastmod: "2010-08-21T00:26:14Z"
id: 743736
url: "https://chinacode.iteye.com/blog/743736"
---

最近使用svn更新的时候经常出现一些奇怪的错误。经过查询得知是本地化环境没有配置，导致的。记录以下解决方法。

本人环境：**[centos](http://www.blags.org/tags/centos/ "centos 系统") 5.x**

[vim](http://www.blags.org/tags/vim/ "vim") ~/.bash\_profile \[编辑配置文件]

在按下 shift + g 把 ~/.bash\_profile

添加：

```
export SVN_EDITOR=vim
export LANG=zh_CN.UTF8
export LC_MESSAGES="en_US.UTF-8"
```

**本文链接地址:** [centos 本地化配置](http://www.blags.org/centos-localization-configuration/)