fix: translation loader path to /opt/nextworkspace/lng
This commit is contained in:
parent
b7c65d37cd
commit
20cc74ae50
1 changed files with 1 additions and 2 deletions
3
main.go
3
main.go
|
|
@ -1580,8 +1580,7 @@ func main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Load translations from lng/ directory
|
// Load translations from lng/ directory
|
||||||
lngDir := filepath.Join(configDir, "../../lng")
|
loadTranslations("/opt/nextworkspace/lng")
|
||||||
loadTranslations(lngDir)
|
|
||||||
|
|
||||||
// Create template FuncMap for translations
|
// Create template FuncMap for translations
|
||||||
funcMap = template.FuncMap{"t": t}
|
funcMap = template.FuncMap{"t": t}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue