Changed: DB Params
This commit is contained in:
3
templ/examples/internationalization/locales/de/de.yaml
Normal file
3
templ/examples/internationalization/locales/de/de.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
de:
|
||||
hello: Hallo
|
||||
select_language: Sprache auswählen
|
3
templ/examples/internationalization/locales/en/en.yaml
Normal file
3
templ/examples/internationalization/locales/en/en.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
en:
|
||||
hello: "Hello"
|
||||
select_language: "Select Language"
|
9
templ/examples/internationalization/locales/locales.go
Normal file
9
templ/examples/internationalization/locales/locales.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package locales
|
||||
|
||||
import "embed"
|
||||
|
||||
//go:embed en
|
||||
//go:embed de
|
||||
//go:embed zh-cn
|
||||
|
||||
var Content embed.FS
|
@@ -0,0 +1,3 @@
|
||||
zh-cn:
|
||||
hello: "你好"
|
||||
select_language: "选择语言"
|
Reference in New Issue
Block a user