Rules and Priority
As your LinguaX setup grows, grouping rules and applying clear priority keep behavior predictable across every context.
Grouping Rules (Profiles)
Different workflows often need different rule sets:
- coding-heavy sessions
- design-heavy sessions
- multilingual communication sessions
Profiles let you group rules by workflow intent instead of mixing everything into one flat list. A practical strategy:
- Keep one baseline profile for daily default behavior.
- Add a second profile only when requirements clearly diverge.
- Use explicit names such as
Dev Daily,Design Review, orCN Communication.
Priority Principles
LinguaX resolves matches from most specific to most general. Apply these consistently:
- Domain rule beats browser app default. Inside a browser, a matching domain rule always takes priority over the broad browser default — so docs, chat, and admin tabs each get the right input source.
- App rules are per-foreground-app. For non-browser apps, the matching app rule applies directly. Two app rules never compete, because only one app is in the foreground at a time.
- Specific context beats broad context. Narrow targets win over wide ones.
Conflict Prevention
- Keep one clear owner rule per context.
- Avoid duplicate or overlapping fallback rules for the same app or domain.
- Test each new rule before adding the next one.
Maintenance Checklist
- Review active rules monthly.
- Remove stale apps and domains.
- Keep only rules you have validated.