Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
108 commits
Select commit Hold shift + click to select a range
1314ba5
first i18n wip
benedikt-bartscher Jul 17, 2026
375a544
ruffing
benedikt-bartscher Jul 17, 2026
8925b6d
format js
benedikt-bartscher Jul 17, 2026
b11f2ac
dry and fix ci
benedikt-bartscher Jul 17, 2026
55aa426
fix aenter
benedikt-bartscher Jul 17, 2026
8f65f43
some state import fixes and docstr cleanup
benedikt-bartscher Jul 18, 2026
d2b37ea
fixes
benedikt-bartscher Jul 18, 2026
5d51480
some typing fixes
benedikt-bartscher Jul 18, 2026
26012b6
minor docstring stuff
benedikt-bartscher Jul 18, 2026
3ba79df
add changelog and some DRYness
benedikt-bartscher Jul 18, 2026
72cce65
sde effect struggle
benedikt-bartscher Jul 18, 2026
2e969e5
add explicit console error
benedikt-bartscher Jul 18, 2026
e40bd73
add support for numbers, dates, currencies etc
benedikt-bartscher Jul 18, 2026
6e1f271
add memo test
benedikt-bartscher Jul 18, 2026
3a77ed9
greptile
benedikt-bartscher Jul 18, 2026
a5025c7
url-based locales and seo
benedikt-bartscher Jul 30, 2026
84883b7
Merge remote-tracking branch 'upstream/main' into add-i18n
benedikt-bartscher Jul 31, 2026
af6e1b3
Merge remote-tracking branch 'upstream/main' into add-i18n
benedikt-bartscher Aug 4, 2026
89c0666
Merge remote-tracking branch 'upstream/main' into add-i18n
benedikt-bartscher Aug 26, 2026
b509a75
invalidate translation cache
benedikt-bartscher Aug 26, 2026
b9070ed
Merge remote-tracking branch 'upstream/main' into add-i18n
benedikt-bartscher Aug 26, 2026
173fdf1
address cubic threads
benedikt-bartscher Aug 26, 2026
3e65e3b
address remaining review threads: URL-aware client runtime, routing v…
benedikt-bartscher Aug 26, 2026
5ae48c2
Merge remote-tracking branch 'upstream/main' into add-i18n
benedikt-bartscher Sep 4, 2026
4ca020d
fix conflicts
benedikt-bartscher Sep 4, 2026
7e0a384
fix versions
benedikt-bartscher Sep 4, 2026
3376a91
address cubic review: basename-aware i18n URLs, Map catalogs, singula…
benedikt-bartscher Sep 4, 2026
5613788
i18n: fullmatch locale validation, treat empty context as none, clari…
benedikt-bartscher Sep 4, 2026
cfe98b2
Merge branch 'main' into add-i18n
benedikt-bartscher Sep 4, 2026
73858ed
Merge remote-tracking branch 'upstream/main' into add-i18n
benedikt-bartscher Sep 10, 2026
b74611d
Merge branch 'main' into add-i18n
benedikt-bartscher Sep 12, 2026
9a75a4c
Merge remote-tracking branch 'upstream/main' into add-i18n
benedikt-bartscher Sep 15, 2026
3639600
perf: defer the reflex.cli entry point scan until a command name miss…
benedikt-bartscher Sep 15, 2026
748cdd3
Merge branch 'main' into add-i18n
benedikt-bartscher Sep 16, 2026
696c6ee
Merge branch 'main' into add-i18n
benedikt-bartscher Sep 21, 2026
3b84af4
chore: regenerate dispatch_release workflow for the added reflex-i18n…
benedikt-bartscher Sep 21, 2026
3d5f676
reflex-base: forward exc_info from the event scope and export ExpandR…
benedikt-bartscher Sep 23, 2026
9ec44ec
i18n: give the client hooks real FunctionVars and address the open re…
benedikt-bartscher Sep 23, 2026
8c96e15
i18n: keep query and fragment in switcher links, and use timezone.utc…
benedikt-bartscher Sep 23, 2026
c00c5ff
Merge upstream main (84bb6ab) into add-i18n
benedikt-bartscher Sep 23, 2026
89f2ce7
Merge branch 'main' into add-i18n
benedikt-bartscher Sep 23, 2026
2ad8c81
Merge remote-tracking branch 'upstream/main' into add-i18n
benedikt-bartscher Oct 2, 2026
6fc5a4f
Merge remote-tracking branch 'upstream/main' into add-i18n
benedikt-bartscher Oct 20, 2026
cc80aea
Fix first-load locale, regional catalog tags and sibling floors
benedikt-bartscher Oct 21, 2026
5872028
Merge remote-tracking branch 'upstream/main' into add-i18n
benedikt-bartscher Oct 25, 2026
fbe9076
Run background state blocks in the visitor's current locale
benedikt-bartscher Oct 25, 2026
01abb30
Match client locale negotiation to the server and redirect without th…
benedikt-bartscher Oct 25, 2026
d84c105
Honor scope suppression when a background state block exits
benedikt-bartscher Oct 25, 2026
28bd677
Document the localized page render function
benedikt-bartscher Oct 25, 2026
c9b6180
Register the i18n command lazily instead of scanning CLI entry points
benedikt-bartscher Oct 25, 2026
8517828
Tell the server when the cookie-mode switcher changes the locale
benedikt-bartscher Oct 25, 2026
d86540d
Merge remote-tracking branch 'upstream/main' into add-i18n
benedikt-bartscher Nov 10, 2026
b36307e
Switch the locale through the routing wrap when no provider is mounted
benedikt-bartscher Nov 10, 2026
3dcbdaf
Drop a delta an event scope suppressed instead of failing on it
benedikt-bartscher Nov 10, 2026
2633953
Keep reflex-i18n names out of reflex's __all__ when it is not installed
benedikt-bartscher Nov 10, 2026
25523b8
Pick untranslated plurals by the default locale's rule on the server
benedikt-bartscher Nov 10, 2026
4ddada3
Read Accept-Language q-values case-insensitively
benedikt-bartscher Nov 10, 2026
c6648c5
Reject a non-literal context in rx.t
benedikt-bartscher Nov 10, 2026
e27bf88
Detect right-to-left locales case-insensitively
benedikt-bartscher Nov 10, 2026
a8922d5
Record catalog source locations relative to the project root
benedikt-bartscher Nov 10, 2026
df5ec90
Assert what the i18n routing and catalog tests name
benedikt-bartscher Nov 10, 2026
c92b7da
Raise reflex-i18n's floors to the unreleased reflex and reflex-base
benedikt-bartscher Nov 10, 2026
95df288
Correct the i18n release notes and README example
benedikt-bartscher Nov 10, 2026
ce40301
Pick plurals by a rule both gettext and the client can evaluate
benedikt-bartscher Nov 10, 2026
5fb4b9b
Merge remote-tracking branch 'upstream/main' into add-i18n
benedikt-bartscher Nov 19, 2026
4b4de3b
Register I18nState in the active context when a getter's locale depen…
benedikt-bartscher Nov 19, 2026
9b546ff
Replace plural rules that gettext and JS evaluate differently
benedikt-bartscher Nov 19, 2026
3a67c5d
Keep locale switch links on the site for paths with a leading "//"
benedikt-bartscher Nov 19, 2026
3e84b26
Compare compiled i18n modules in full in tests
benedikt-bartscher Nov 19, 2026
39d1240
Strip every leading slash when reading a path's locale in the client
benedikt-bartscher Nov 19, 2026
de83113
Export use_locale and get_locale for translating outside an event
benedikt-bartscher Nov 19, 2026
6c413d0
Add fallback_locale for visitors whose browser asks for no configured…
benedikt-bartscher Nov 19, 2026
f004312
Add gettext_noop (N_) to mark text that is translated later
benedikt-bartscher Nov 19, 2026
c782de9
Render rx.t and the rx.i18n formatters without an I18nPlugin so libra…
benedikt-bartscher Nov 19, 2026
1de7392
Make the cookie-mode provider follow the locale the server resolved
benedikt-bartscher Nov 19, 2026
ccc4a8c
Let packages ship their own catalogs and extract them with reflex i18…
benedikt-bartscher Nov 19, 2026
477882e
Enter a session's resolved locale unchecked so a removed locale does …
benedikt-bartscher Nov 19, 2026
816d42a
Drop the claim that an app catalog overrides a catalog package's mess…
benedikt-bartscher Nov 19, 2026
9e51685
Merge remote-tracking branch 'upstream/main' into add-i18n
benedikt-bartscher Nov 19, 2026
170bb40
Report a catalog package with a missing parent as not installed
benedikt-bartscher Nov 19, 2026
7532059
Find rx.t called through any import of reflex or reflex_i18n
benedikt-bartscher Nov 19, 2026
a27dc54
Say that locale negotiation falls back to fallback_locale
benedikt-bartscher Nov 19, 2026
e3ef052
Record absolute source locations for a directory on another drive
benedikt-bartscher Nov 19, 2026
5045deb
Replace a section banner in the i18n client runtime with a plain comment
benedikt-bartscher Nov 19, 2026
7003da2
Match locale path segments case-insensitively, as the router does
benedikt-bartscher Nov 19, 2026
1c129fa
Keep the document language in step with the URL on every routed page
benedikt-bartscher Nov 19, 2026
6c413d6
Add normalize_locale and source_locale for code that stores or picks …
benedikt-bartscher Nov 19, 2026
f2c4247
Pick a translation from a mapping by the active locale's fallback chain
benedikt-bartscher Nov 19, 2026
c721dfc
Name languages and weekdays in the active locale
benedikt-bartscher Nov 19, 2026
eac9bdf
Label the language switcher with each language's own name
benedikt-bartscher Nov 19, 2026
a83bb05
Follow each locale with its own language in the fallback chain
benedikt-bartscher Nov 19, 2026
8b81741
Treat an empty locale as unset when picking in the browser
benedikt-bartscher Nov 19, 2026
6c1a4c5
Keep extension and private-use subtags lowercase in normalize_locale
benedikt-bartscher Nov 19, 2026
f8322be
Spell fallback chain locales the way stored keys are spelled
benedikt-bartscher Nov 19, 2026
1e37a02
Format a missing value as empty text in the client formatters
benedikt-bartscher Nov 19, 2026
f8916ab
Export every lazily mapped name from a package stub
benedikt-bartscher Nov 20, 2026
705a011
Fake a cross-drive relpath for the i18n CLI alone
benedikt-bartscher Nov 20, 2026
2200d20
Reject locales repeated in another case in I18nConfig
benedikt-bartscher Nov 20, 2026
137b5f3
Merge remote-tracking branch 'upstream/main' into add-i18n
benedikt-bartscher Nov 20, 2026
d0e4f94
Read the router fields directly in the i18n locale scope
benedikt-bartscher Nov 20, 2026
c076f99
Resolve the i18n CLI plugin through get_plugin
benedikt-bartscher Nov 20, 2026
cefbaa4
Make a cached computed var calling get_locale depend on the locale
benedikt-bartscher Nov 20, 2026
04212f9
Take an unknown page's locale from the browser path, not its /404 rou…
benedikt-bartscher Nov 20, 2026
8a228f5
Look for reflex-i18n only when reflex's __all__ is read, not on every…
benedikt-bartscher Nov 20, 2026
f88cc5c
Return reflex's names list itself, since list is rx.list in its names…
benedikt-bartscher Nov 20, 2026
7f272db
Log reflex-i18n's warnings and CLI output through logging instead of …
benedikt-bartscher Nov 20, 2026
9b128ca
Register reflex_i18n as a reflex package logger so its records reach …
benedikt-bartscher Nov 21, 2026
b842a6b
Prerender each locale route with its own <html lang> and dir
benedikt-bartscher Nov 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/dispatch_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,10 @@ on:
description: "reflex-hosting-cli"
type: boolean
default: false
reflex_i18n:
description: "reflex-i18n"
type: boolean
default: false
reflex_otel:
description: "reflex-otel"
type: boolean
Expand Down Expand Up @@ -209,6 +213,7 @@ jobs:
${{ inputs.reflex_components_sonner && 'reflex-components-sonner' || '' }}
${{ inputs.reflex_docgen && 'reflex-docgen' || '' }}
${{ inputs.reflex_hosting_cli && 'reflex-hosting-cli' || '' }}
${{ inputs.reflex_i18n && 'reflex-i18n' || '' }}
${{ inputs.reflex_otel && 'reflex-otel' || '' }}
${{ inputs.reflex_release && 'reflex-release' || '' }}
${{ inputs.reflex_workflow && 'reflex-workflow' || '' }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ def get_sidebar_items_backend():
database,
enterprise,
events,
i18n,
state,
state_structure,
utility_methods,
Expand Down Expand Up @@ -183,6 +184,12 @@ def get_sidebar_items_backend():
client_storage.overview,
],
),
create_item(
"Internationalization",
children=[
i18n.overview,
],
),
create_item(
"Database",
children=[
Expand Down
Loading
Loading