{"id":18429387,"url":"https://github.com/lionbytes/rtl-yoursite","last_synced_at":"2025-07-29T10:10:25.712Z","repository":{"id":167587974,"uuid":"242414951","full_name":"lionbytes/RTL-yoursite","owner":"lionbytes","description":"A set of steps to guide you through creating an Arabic version of your LTR website.","archived":false,"fork":false,"pushed_at":"2022-09-26T15:33:18.000Z","size":55,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T22:59:15.451Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lionbytes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-22T21:34:50.000Z","updated_at":"2022-09-26T15:32:07.000Z","dependencies_parsed_at":"2023-05-29T02:00:27.941Z","dependency_job_id":null,"html_url":"https://github.com/lionbytes/RTL-yoursite","commit_stats":null,"previous_names":["lionbytes/rtl-yoursite"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lionbytes/RTL-yoursite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lionbytes%2FRTL-yoursite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lionbytes%2FRTL-yoursite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lionbytes%2FRTL-yoursite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lionbytes%2FRTL-yoursite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lionbytes","download_url":"https://codeload.github.com/lionbytes/RTL-yoursite/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lionbytes%2FRTL-yoursite/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267668808,"owners_count":24124967,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T05:16:53.875Z","updated_at":"2025-07-29T10:10:25.676Z","avatar_url":"https://github.com/lionbytes.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿\u003cp align=\"center\"\u003e\u003cimg src=\"https://github.com/lionbytes/RTL-yoursite/blob/master/cover.PNG\" alt=\"\"\u003e\u003c/p\u003e\n\n# Arabicize Your Site\nA set of steps to guide you through creating an Arabic version of your LTR website.\nIt should mostly work for other RTL languages as well.\n\n### Duplicate Asset Files *(Optional)*\n- Duplicate layout/template files (e.g. template.html, index.html, etc.)\n- Duplicate and rename CSS files (e.g. styles-ar.css, bootstrap-ar.css, cover-ar.css, etc.)\n- Duplicate images and other assets.\n### Images \u0026 Backgrounds\n- Replace English text in Logotype images with Arabic text.\n- Replace English text in photos and other pictures with Arabic text.\n- Flip direction of asymmetric text-free decorative images from left to right and vice versa.\n### CSS Code\n- `ltr` \u003c=\u003e `rtl`\n- `left` \u003c=\u003e `right`\n- `en` \u003c=\u003e `ar` (e.g Look for: -en, en-, /en, en/, \"en, en\", en, etc.)\n- `margin:` 1 2 3 4 =\u003e `margin:` 1 4 3 2 \n- `padding:` 1 2 3 4 =\u003e `padding:` 1 4 3 2\n- Replace the `font-family` font stack value with the appropriate Arabic ones (e.g. 'Amiri', 'Droid Arabic Naskh', 'Arial', etc.)\n- `letter-spacing: 0` – Arabic text has no letter spacing.\n### HTML Code\n- `ltr` \u003c=\u003e `rtl`\n- `left` \u003c=\u003e `right`\n- For Bootstrap 4 and later: `ml` \u003c=\u003e `mr`\n- For Bootstrap 4 and later: `pl` \u003c=\u003e `pr`\n- `en` \u003c=\u003e `ar` (e.g Look for: -en, en-, /en, en/, \"en, en\", en, etc.)\n- Validate HTML element attribute values: (e.g. `title`, `alt`, `src`, `href`, `placeholder`, `value`, etc.)\n- Translate English text content to Arabic.\n### Test \u0026 Fix\n- Quality-check font sizes of headings and paragraphs.\n- Check if `font-weight` still works for all newly used Arabic font families.\n- Check misspellings.\n- Use better fonts if necessary.\n- Adjust spacing if necessary (i.e. paddings, margins, positions, etc.)\n- Debug JavaScript plugins and scripts that stopped working because of renaming and style direction change. \n\n______________\n[*] Notice that the sign `\u003c=\u003e` goes both ways.\nMaking left = right, and right = left :\n1. Replace `left` with `temp`.\n2. Then replace `right` with `left`.\n3. Finally replace `temp` with `right`.\n\nApply these replacement steps to other keywords. \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flionbytes%2Frtl-yoursite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flionbytes%2Frtl-yoursite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flionbytes%2Frtl-yoursite/lists"}