Skip to content

docs: README i18n (ja/ko/es/fr/de) + unified logging config#100

Merged
singchia merged 2 commits into
mainfrom
feat/unified-logging
Apr 20, 2026
Merged

docs: README i18n (ja/ko/es/fr/de) + unified logging config#100
singchia merged 2 commits into
mainfrom
feat/unified-logging

Conversation

@singchia

Copy link
Copy Markdown
Owner

Summary

Two commits landing together:

  • docs: README translations — extend the README language switcher from English | 简体中文 to seven languages (English | 简体中文 | 日本語 | 한국어 | Español | Français | Deutsch) and add full translations of the English README for Japanese, Korean, Spanish, French, and German. Code blocks, commands, configuration samples, and URLs are preserved verbatim; only prose, headings, table cells, and captions are translated.
  • feat: unified logging — unify logging configuration between Frontier and Frontlas (shared pkg/config/log.go), with accompanying updates to etc/frontier_all.yaml, etc/frontlas_all.yaml, and the config loaders in pkg/frontier/config and pkg/frontlas/config.

Test plan

  • English | 简体中文 | 日本語 | 한국어 | Español | Français | Deutsch language bar renders at the top of every README variant and the current-language entry is unlinked
  • Every ./README_*.md link in the switcher resolves
  • go build ./... succeeds with the new pkg/config/log.go
  • go test ./pkg/frontier/config/... passes (new config_test.go)
  • Example etc/frontier_all.yaml still loads with the new logging block

singchia and others added 2 commits April 17, 2026 09:22
Add a shared Log config struct in pkg/config/log.go that drives both
klog and armorigo through a single configuration layer. This fixes the
asymmetry where frontier had --loglevel but frontlas did not, and enables
file-based logging with rotation for non-container deployments.

- New pkg/config/log.go: Log/LogFile structs, SetupLogging(), env overrides
- Support four output modes: stdout, stderr, file, both (stdout+file)
- Support env var overrides: LOG_LEVEL, LOG_OUTPUT, LOG_FORMAT, LOG_FILE
- Add lumberjack dependency for file log rotation
- Both binaries now accept: --loglevel, --log-output, --log-format, --log-file
- Add log section to frontier_all.yaml and frontlas_all.yaml
- Backward compatible: default behavior unchanged (stdout + info + text)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Extend the README language switcher from English/简体中文 to seven
languages and add full translations of the English README for
Japanese, Korean, Spanish, French, and German. Code blocks,
commands, configs, and URLs are preserved verbatim; only prose,
headings, table cells, and captions are translated.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Apr 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
frontier Error Error Apr 20, 2026 0:31am

@singchia singchia merged commit 6576b53 into main Apr 20, 2026
2 of 3 checks passed
@singchia singchia deleted the feat/unified-logging branch April 25, 2026 06:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant