Translate pages and blog posts
For users
How languages work
Each language of a page or post is its own language version (culture). Each version has its own text (HTML), title, SEO fields and publish state. The SufiChain site uses fa (default), en, ar and es.
What is shared between language versions:
- Page JS: one script for all languages.
- Cover image and tags of a blog post: they carry over to the other languages.
What is separate per language: the text, title, summary, meta title and description, and publishing.
Steps: add a language
- Open the page or post in the editor.
- Page: More actions («اقدامات بیشتر») → Translate («ترجمه») → Target language («زبان مقصد»). Post: Translate → pick the language.
- To write the translation yourself, untick Translate with Writer. Leave it ticked to get a draft from the Writer hooshvare, then review it.
- The editor opens the new version (the address ends with
?culture=xx). - Write or check the text, and fill Page settings → General / SEO for this language.
- Save draft, re-open and check.
- Publish this language (Publish → Confirm). Repeat for every language.
Tips
- Publish each language separately. Publishing one language does not publish the others.
- Translate copies the content only, not the page CSS or JS. Check the new version's styling.
- Write language-specific CSS with
:dir()/[lang]selectors, not by editing CSS in one language only. - Don't put translations inside page JS. Each language's text belongs in its own HTML.
- Opening the editor with
?culture=xxalso switches the whole console UI to that language. Switch back from the address or the language menu. - RTL languages (fa, ar) are shown right to left by the site automatically.
Blog posts: translating by hand (verified 2026-10-26)
- When you add a language version of a blog post with Translate («ترجمه») and AI translation turned off, the editor opens with a copy of the original body. Select the whole body, delete it, and insert the full translated text.
- After publishing, open the translated post's public page and check that no paragraph is still in the original language. A paste can land only partly.