Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7164993
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T14:10:01+00:00 2026-05-28T14:10:01+00:00

How should i implement site with two language that one language direction is rtl.

  • 0

How should i implement site with two language that one language direction is rtl.
should i create form-rtl.css and main-rtl.css and check user language and if user have selected a rtl language i have to add this form-rtl and main-rtl.css files after yii css files?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T14:10:02+00:00Added an answer on May 28, 2026 at 2:10 pm

    The direction should be set in HTML (using the dir attribute), since it is an inherent property of a writing system, rather than casual presentation feature.

    Some style settings may need to be set with due attention to directionality, so it makes sense to have separate CSS files for settings for RTL writing and for settings for LTR writing. But probably most of the CSS settings can be kept in one file.

    So you could have something like this for an Arabic-language page:

    <html lang=ar dir=rtl>
    ...
    <link rel=stylesheet href=common.css> <!-- overall settings -->
    <link rel=stylesheet href=rtl.css>    <!-- settings specific to RTL writing -->
    <link rel=stylesheet href=ar.css>     <!-- settings specific to Arabic language,
                                               e.g. font family settings -->
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to implement forms authentication on an ASP.NET website, the site should seek
I want to implement a derived class that should also implement an interface, that
What is the best practice? How should I implement it so that the database
We are told that we should implement hashCode() for our classes but most people
I'm trying to create a site, with a master controller.It has two constructors -
I'm programming a spider that should have realistic movement. Currently I'm using this site
Part of my site should be accessible only to authorized users. Let's assume user
Why should I implement Interfaces and Dependency Injection on a site with almost no
Everywhere I look I see that whenever a site implement a tags system, they
I have an interface for a variety of classes, all of which should implement

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.