Sinyaya Dynya

Results 8 comments of Sinyaya Dynya

PS: for that project, I'm on Emulsify 2.7

@shadcn I think that what @pinoniq try to explain is that on Drupal URL language detection configuration (/admin/config/regional/language/detection/url) the default language CAN have a langcode prefix too: And in that...

@shadcn sure I would be glad if I can help. Here is what is needed on the Drupal side config: - multilingual, with the following core modules enabled: language, config_translation...

I have tried also to add this to the next config: ``` module.exports = { nextConfig, i18n: { locales: ['default', 'en', 'es', 'fr'], defaultLocale: 'default', localeDetection: false, }, trailingSlash: true,...

Unfortunately also getting: Error: Failed to fetch JSON:API index at http://dev.drupalsite.io/en/en/jsonapi - Unexpected token < in JSON at position 0 with double /en/en/ in the path, when adding `apiPrefix: "/en/jsonapi",`...

Actually, @shadcn started exploring a fix where it is possible to set the `defaultLocale` on the client: https://github.com/chapter-three/next-drupal/pull/362 (https://github.com/chapter-three/next-drupal/tree/feat/defaultLocale-for-client) Unfortunately, I'm not sure where and how to set that `defaultLocale`....

I would love that option too!

It could be super powerful to mix the Schema.org Blueprints with [Themr Components](https://www.drupal.org/project/themr_components) and https://www.drupal.org/project/themr. If never heard of it, please have a loot at this demo: https://www.youtube.com/watch?v=NEtsYDzeq-g