Giuseppe Aiello

Results 9 comments of Giuseppe Aiello

I think the best solution would be to add a settings to **disable automatic page generation**. I'm also thinking about the need to generate a proper sitemap.xml, one per language:...

Hi @daaru00, after several tests, implementing an option for disabling automatic route generation and adding the labels in the localized json looked like the best solution for my use case....

@daaru00 I added as well the "customized routes" creation (to keep the project's gridsome.server.js file cleaner), simply sending in the config options an object called "routes". Let me know if...

Hi @daaru00 , I adapted the code to the new changes, but I see that the "default" routes are generated anyway. Is it possible that [the new hook ](https://github.com/daaru00/gridsome-plugin-i18n/blob/master/gridsome.server.js#L28)is creating...

Hello @daaru00 , sorry for the delay. I just sent you a new [Pull Request](https://github.com/daaru00/gridsome-plugin-i18n/pull/26). Could you check if everything is ok now? (testing it locally didn't produce any issue).

@edlefebvre "how do you get the translated path?" I see that in the doc is missing the reference to the "slug" property for each route. You can take a look...

This is how I'm using it when switching the language: ```js this.$tp(this.$t(this.$context.slug, newLocale), newLocale, true) ``` Hope it helps...

I think that given the way [Vue I18n](https://kazupon.github.io/vue-i18n/) works, we are forced to pass the instruction: ```js $t('slug') ``` because: - the URL could not contain the slug; - the...

Astro's [release 2.1.3](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md#213) should have solved the "_'filename' must be a file URL object_" issue. EDIT: after a test, it seems the issue caused by the dynamic path on SSR...