Document language/internationalization variables and functions - #541
Merged
nonprofittechy merged 3 commits intoSep 9, 2025
Merged
Conversation
Co-authored-by: nonprofittechy <7645641+nonprofittechy@users.noreply.github.com>
Co-authored-by: nonprofittechy <7645641+nonprofittechy@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add a page to document language/internationalization variables and functions we define
Document language/internationalization variables and functions
Sep 9, 2025
nonprofittechy
marked this pull request as ready for review
September 9, 2025 14:02
nonprofittechy
deleted the
copilot/add-internationalization-documentation-page
branch
September 9, 2025 14:02
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.
This PR completes the documentation of AssemblyLine's language/internationalization system by adding comprehensive coverage of variables and functions defined in
language.pyandal_language.yml.Changes Made
Added Assembly Line language system variables to
magic_variables.md:enable_al_language- Controls whether Assembly Line language system is activeal_user_default_language- Default language code when user hasn't selected oneal_interview_languages- List of supported language codes for the interviewal_user_language- Currently selected language for the useral_change_language(event) - Event triggered when user switches languagesEnhanced
translation.mddocumentation:al_change_languageeventImproved cross-references between documentation pages:
translation.mdandmagic_variables.mdAL_DEFAULT_LANGUAGE) and Assembly Line-specific onesBefore/After
Previously, the Assembly Line language variables were only documented in the translation guide. Now they're properly categorized in the special variables reference alongside other runtime variables, making them easier to discover and understand in context.
The
al_change_languageevent was only briefly mentioned before - now it has comprehensive documentation explaining its purpose, behavior, and how developers can extend it.All language/internationalization variables and functions from the AssemblyLine framework are now comprehensively documented with proper cross-references between related pages.
Fixes #173.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.