Th3apprenTis's avatar

SEO Friendly Translation

Hello ,

I am looking to add translations in my laravel app.I found the following tutorial and i am wondering how seo friendly is this approach since it uses session.

https://dev.to/fadilxcoder/adding-multi-language-functionality-in-a-website-developed-in-laravel-4ech

I just have some static content that need to translated.

Thanks

0 likes
2 replies
bobbybouwmann's avatar

@th3apprentis Well you won't be able to index all translations, but if you set the default to english this should work just fine for SEO stuff as well.

If you want your site to be indexed in all languages you should use the locale in your url instead of the session. You can also find packages for that :D

Th3apprenTis's avatar

What packages do you suggest ?

I need to index pages in all languages.I am using laravel 5.8

Please or to participate in this conversation.