Auto switches to RTL layout whenever you translate page to Persian, Arabic, or other RTL languages.
Auto RTL Extension
This extension automatically switches page layout to right-to-left (RTL) whenever you translate page to Persian, Arabic, or other right-to-left languages using Chrome's built-in translation feature.
https://github.com/sir-kokabi/AutoRTL
Read more
https://github.com/sir-kokabi/AutoRTL
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Auto RTL", "short_name": "AutoRTL", "version": "1.0.2", "description": "Auto switches to RTL layout whenever you translate page to Persian, Arabic, or other RTL languages.", "author": "Ayub Kokabi", "content_scripts": [ { "matches": ["https://*/*"], "js": ["content-script.js"] } ], "icons": { "16": "./icons/16.png", "32": "./icons/32.png", "48": "./icons/48.png", "128": "./icons/128.png" }, "action": { "default_icon": { "16": "./icons/16.png", "32": "./icons/32.png", "48": "./icons/48.png", "128": "./icons/128.png" } }}
Read more