Localisation

Configure runtime locale and generated UI strings without editing fgui.js.

FG UI uses the document language by default, keeps existing markup text under application control and lets applications configure runtime-generated strings through the public API.

Built with FG UI itself.

This page is built entirely with FG UI using the same components, layout primitives, icons and interactions available in the kit. No Bootstrap, Tailwind or external UI framework is required.

Configure after load

FGUI.configure({
  locale: 'fr-FR',
  strings: {
    chooseDate: 'Choisir une date',
    chooseTime: 'Choisir une heure',
    noMatchingOptions: 'Aucune option correspondante'
  }
});

Public helpers

  • FGUI.configure(options)
  • FGUI.getLocale()
  • FGUI.t(key, replacements, fallback)

Date and month labels use the active locale through the platform Intl / date formatting APIs.

Long-content resilience is part of the system.

FG UI applies inherited wrapping inside the .fgui scope so long URLs, filenames and translated compound words do not unnecessarily widen ordinary components. Purpose-built horizontal data surfaces may still scroll by design.