Open
Conversation
Adds multi-language support so generated components include language detection, translations, RTL layout, and user format settings when the environment has multiple configured languages. - SKILL.md: detect languages via `pac model list-languages` in Step 2, include localization in Step 4 plan, reference localization rules in Step 7 code generation - genpage-rules-reference.md: add full Localization section with language detection boilerplate, translation dictionary + t() helper, RTL support for Arabic/Hebrew, usersettings formatting helpers, and LCID reference table Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
davidkiz
approved these changes
Mar 5, 2026
nguyentony95
approved these changes
Mar 5, 2026
- Use retrieveRow with current user ID instead of queryTable for usersettings fetch (matches AIBuilder's CoderAgent pattern) - Add anti-pattern examples for currency/number formatting to prevent common LLM mistakes (hardcoded $, hardcoded currency codes) - Add note to keep date/currency formats out of translations dictionary Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The server resolves LCIDs dynamically via CultureInfo, and the agent gets real LCID data from pac model list-languages output. The static table was redundant. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Adds multi-language support so generated components include language detection, translations, RTL layout, and user format settings when the environment has multiple configured languages.
pac model list-languagesin Step 2, include localization in Step 4 plan, reference localization rules in Step 7 code generation