A bilingual site is more than translated text. Direction, fonts, numerals and even the meaning of an arrow change.
Use logical properties
Use start and end instead of left and right. With margin-inline, padding-inline and text-align: start, one codebase works in both directions.
Arrows and directional icons
A "next" arrow points left in Persian. Don't flip neutral icons (search, settings); only icons that carry direction should be mirrored.
Numerals and fonts
Format numbers by page language and pick a suitable font for each. Protect Latin text inside a Persian sentence with dir="ltr" or isolation.
URLs and SEO
Give each language its own URL (such as /en), hreflang tags and the correct lang on html so search engines show the right version.
Likes and saves are currently kept in this browser only.