docs: README i18n (ja/ko/es/fr/de) + unified logging config#100
Merged
Conversation
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>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two commits landing together:
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.pkg/config/log.go), with accompanying updates toetc/frontier_all.yaml,etc/frontlas_all.yaml, and the config loaders inpkg/frontier/configandpkg/frontlas/config.Test plan
English | 简体中文 | 日本語 | 한국어 | Español | Français | Deutschlanguage bar renders at the top of every README variant and the current-language entry is unlinked./README_*.mdlink in the switcher resolvesgo build ./...succeeds with the newpkg/config/log.gogo test ./pkg/frontier/config/...passes (newconfig_test.go)etc/frontier_all.yamlstill loads with the new logging block