Debugging routes and switching locales
Adding pages from the Pinia store to the router. Filling in missing alternate locale paths.
Subscribed to Daily Stoic based on feedback from people here.
Lander: Hollow Moon is now on Newgrounds https://www.newgrounds.com/portal/view/910181
feature: Locale dropdown switcher
Removed and replaced the last parts of the original i18n lib
Language detection attempted when the user visits the root path (/) of the site.
To prevent redirecting users every time they visit the app, we persist localeCurrent to the i18nStore.
Continuing to fumble my way through i18n config
chore: packages
Started implementing browser detection and redirect at root
Optimized the way I'm determining the alternate locale hrefs
feature: basic version of alternate locale page meta tags working!
feature: database schema and migrations for page locales
R&D: hooking up the page store to the i18n store and determining how alternate locale pages will work
Added the i18n alternate meta links for ISO codes, x-default and also the canonical link
...before I hit the limit of what I could accomplish without loading pages from the database and adding them to the store/router. Chicken, egg, foo, bar.
Started adding i18n alternate meta links based on site locales
feature: i18n Pinia store getters for determining locale and localePath
Lander: Hollow Moon added to itch.io - https://recliner.itch.io/lander
test: gitlab build pipeline
refactor: data transformer to take a parser: (value: string) => unknown
refactor: i18n Interface
fix: useFetch() and ignore reactive form payload
Started building my own i18n implementation into Pinia.
After looking at what nuxt-i18n adds to page meta, page routes, and locale detection/switching I think it's going to be easier to build my own implementation into Pinia instead of the Frankenstein I have now.