This repository has been archived on 2026-03-06. You can view files and clone it, but cannot push or open issues or pull requests.
go-php/i18n.go
Snider 7d188ae056
Some checks failed
Security Scan / security (push) Successful in 7s
Test / test (push) Has been cancelled
fix: use go-i18n root package, add to go.mod
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-04 17:25:20 +00:00

16 lines
279 B
Go

// Package php provides PHP/Laravel development tools.
package php
import (
"embed"
"forge.lthn.ai/core/go-i18n"
)
//go:embed locales/*.json
var localeFS embed.FS
func init() {
// Register PHP translations with the i18n system
i18n.RegisterLocales(localeFS, "locales")
}