Lungu Stefan GabrielL
Cyber Info8mo ago
9 replies
Lungu Stefan Gabriel

Making some tiny diversity

I have two domains, lungustefan.ro and lungustefan.com

I'd want to make lungustefan.ro to have text in romanian and if your IP country ≠ Romania/Moldova you to be asked if you want to switch to the english version.
Likewise, if someone from Romania or Moldova visits the .com site, they will be asked if they want to switch to the Romanian version.

Can anyone provide any tips on that?

Or make a PR with an version here (if you make a PR please keep all text the same this would be the english version then I'd just translate it to romania as text and you'd provide tips for the script. Furthermore, I can also just upload the script to the s3 storage if you provide it so we don't clutter the code, PRs auto make a test version via vercel tho that's admin only afaik.)
https://github.com/lungustefan/website-beta

Asset list:
Scripts:
https://s3.lungustefan.ro/scripts/modal.js
https://s3.lungustefan.ro/scripts/australia.js - no hate

Style:
https://s3.lungustefan.ro/style/main.css

Images:
https://s3.lungustefan.ro/assets/pfp.avif
https://s3.lungustefan.ro/assets/background.avif
https://s3.lungustefan.ro/assets/he.avif


Provided the above list for redundancy and you not needing to go digging for them.
Was this page helpful?