Merge pull request #160 from wuyadong/patch-1

Update 10.3.md
This commit is contained in:
astaxie
2013-03-03 18:08:14 -08:00

View File

@@ -21,7 +21,7 @@
}
}
为了支持国际化在此我们使用了一个国际化相关的包——go-i18n(https://github.com/astaxie/go-i18n)首先我们向go-i18n包注册config/locales这个目录,以加载所有的locale文件
为了支持国际化,在此我们使用了一个国际化相关的包——[go-i18n](https://github.com/astaxie/go-i18n)首先我们向go-i18n包注册config/locales这个目录,以加载所有的locale文件
Tr:=i18n.NewLocale()
Tr.LoadPath("config/locales")