Commit e2b35f8
lessjs-bot
fix(i18n): sync locale attribute on SPA content load
_loadContent() now reads locale from fetched page's less-layout
and applies it to the current layout, so i18n content renders in
the correct language after client-side navigation.1 parent 87e20a5 commit e2b35f8
2 files changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
930 | 930 | | |
931 | 931 | | |
932 | 932 | | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
933 | 937 | | |
934 | 938 | | |
935 | 939 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments