aseno-gmbh / aseno-gmbh.github.io

ASENO public page
https://aseno.org/
MIT License
0 stars 0 forks source link

multi language support for aseno website #9

Open sayan801 opened 2 months ago

sayan801 commented 2 months ago

https://github.com/aseno-gmbh/aseno-gmbh.github.io/tree/multilang

I am getting some errors, when I try to use "multilang"

the changes i did

https://github.com/aseno-gmbh/aseno-gmbh.github.io/commit/ee4ad27f21f6f7ba876a32156ac3fb31f53796a7#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5

vf88 commented 2 months ago

Bildschirmfoto 2024-04-23 um 17 27 57

vf88 commented 2 months ago

home.firstLine --> https://github.com/aseno-gmbh/aseno-gmbh.github.io/blob/multilang/app/i18n/translation.de.json#L44

shantu commented 2 months ago

@vf88 There are various approaches and libraries available in which we can implement localization. Could you share the tutorial or blog that is being used as a reference in your implementation?

shantu commented 2 months ago

I have tried with single translation of the content {t('home.firstLine')}. It is switching with the language toggle dropdown. But it may have some issues if browser reloads the page.