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 d2081d91e7
Some checks failed
Security Scan / security (push) Successful in 8s
Test / test (push) Failing after 26s
feat: merge core/php CLI commands into go-php
Combines FrankenPHP handler package with PHP dev CLI commands
(build, deploy, QA, dev server, etc) from core/php. This frees
the core/php namespace for the Laravel PHP framework rename.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-04 17:12:52 +00:00

16 lines
283 B
Go

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