Update 10.3.md
typographical errors and improved readability
This commit is contained in:
@@ -43,7 +43,7 @@ We've just described how to automatically load custom language packs. In fact, t
|
|||||||
|
|
||||||
//Load the default configuration files, which are placed below in `go-i18n/locales`
|
//Load the default configuration files, which are placed below in `go-i18n/locales`
|
||||||
|
|
||||||
//File should be named zh.json, en-json, en-US.json etc., so we can be continuously support more languages
|
//File should be named zh.json, en-json, en-US.json etc., so we can continuously support more languages
|
||||||
|
|
||||||
func (il *IL) loadDefaultTranslations(dirPath string) error {
|
func (il *IL) loadDefaultTranslations(dirPath string) error {
|
||||||
dir, err := os.Open(dirPath)
|
dir, err := os.Open(dirPath)
|
||||||
|
|||||||
Reference in New Issue
Block a user