next-translate
next-translate copied to clipboard
Force page refresh to change layout on changing to RTL language (or back) ?
Hi @aralroca , thanks for this awesome package! I'm trying to use it to support RTL languages however I'm having trouble getting the layout to change without making a full page refresh (or forcing the refresh easily only when RTL languages are concerned). Any advice on how to advice this? Thanks!
I don't know your code, maybe with an example of what you have it would be easier for me to help you. But if the RTL is controlled by CSS, a refresh should not be necessary. Only changing the lang property of html tag is enough (Next.js i18n Routing does it automatically by default when switching languages).