development-plugin-for-avalonia

Fluent Localization, BiDi, and Inclusive Content Patterns

Table of Contents

  1. Scope and Primary APIs
  2. Fluent Localization Rules
  3. BiDi and Mirrored Fluent Shells
  4. Inclusive Content and Command Language
  5. AOT and Runtime Notes
  6. Do and Don’t Guidance
  7. Troubleshooting
  8. Official Resources

Scope and Primary APIs

Use this reference to keep Fluent UI calm, clear, and correct across languages, directions, and user contexts.

Primary APIs:

This file covers:

Fluent Localization Rules

Fluent language should survive localization without losing clarity.

Rules:

<Grid xmlns="https://github.com/avaloniaui"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      ColumnDefinitions="*,Auto"
      ColumnSpacing="12">
  <TextBlock TextWrapping="Wrap"
             Text="Review the release summary and choose the next step." />
  <Button Grid.Column="1"
          MinWidth="144"
          Content="Deploy now" />
</Grid>

BiDi and Mirrored Fluent Shells

Fluent shells should respect language direction, not just text direction.

<SplitView xmlns="https://github.com/avaloniaui"
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
           FlowDirection="RightToLeft"
           DisplayMode="Inline"
           IsPaneOpen="True">
  <SplitView.Pane>
    <ListBox ItemContainerTheme="{StaticResource FluentNavItemTheme}" />
  </SplitView.Pane>
</SplitView>

Rules:

Inclusive Content and Command Language

Inclusive Fluent copy should:

Good examples:

Weak examples:

AOT and Runtime Notes

Do and Don’t Guidance

Do:

Do not:

Troubleshooting

  1. The app still feels English-first.
    • Fixed-width action bars and short-label assumptions are usually the cause.
  2. RTL shells feel mirrored but awkward.
    • Revisit navigation hierarchy and directional iconography, not only text.
  3. Inclusive review still finds friction.
    • The visual system may be fine while the language system remains too vague or too expert-only.

Official Resources