recliner

Code. Eat. Sleep.

Adding pages from the Pinia store to the router. Filling in missing alternate locale paths.

Lander: Hollow Moon is now on Newgrounds https://www.newgrounds.com/portal/view/910181

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.

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 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.

Added a site locales sql table and started loading sites from database by client locale and then falling back to site default locale.