You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
355 B
Go
14 lines
355 B
Go
2 years ago
|
package i18n
|
||
|
|
||
|
// Config i18n configuration
|
||
|
type Config struct {
|
||
|
// Default default language
|
||
|
Default string `json:",optional,default=zh"`
|
||
|
|
||
|
// RootPath root path for search and watching
|
||
|
RootPath string `json:",optional,default=locale"`
|
||
|
|
||
|
// SortedParameterPrefix prefix of sorted parameters.
|
||
|
SortedParameterPrefix string `json:",optional,default=p"`
|
||
|
}
|