Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Right To Left Language Support #404

Closed
PejmanNik opened this issue Nov 6, 2016 · 19 comments
Closed

Add Right To Left Language Support #404

PejmanNik opened this issue Nov 6, 2016 · 19 comments
Milestone

Comments

@PejmanNik
Copy link

  • I'm submitting a ...
    [ ] bug report
    [* ] feature request
    [ ] question about the decisions made in the repository

I want to add Right To Left Language (RTL) support to theme. so what is you opinion?
Language like Persian,Arabic,.. start from right and end at left

So how should i start? add a variable in style-sheet file for that or..?
Thanks

@vitaly87
Copy link

vitaly87 commented Nov 6, 2016

+1 can the side menu also can be at left?

@PejmanNik
Copy link
Author

@vitaly87 yes can be but it be more user friendly if it moved to the right

@vitaly87
Copy link

@PejmanNik what should be changed to support this? what css what prop?

This was referenced Apr 12, 2017
@chennoam7
Copy link

Hi,
I love your theme and need ASAP RTL support.
Do you intend to support RTL soon?

Thanks,
Chen

@iyashiyas
Copy link

please update rtl code

@mostfa-ayad
Copy link

hello can you add rtl support

@mali208
Copy link

mali208 commented Feb 23, 2018

still no support or configuration from contributors that how we can integrate RTL feature with ngx-Admin theme.

@pourmirzai
Copy link

I'm creating a "rtl.css" file based on blur theme and can share it when finished. there is an issue that all styles load in the heading so we have to use "!important". I really appreciate if developers suggest any simple way to create a new RTL CSS file that can override default styles. the theme system docs are so confusing. why there is not a simple CSS file? 😭

@hanogin
Copy link

hanogin commented Mar 3, 2018

It will be nice to have RTL support.
Is it going to happen any time soon?

@pourmirzai
Copy link

I'm working on that but as I'm customizing it for my current project, it won't help you enough. I'll create a usable version for all users as soon as possible.

@mali208
Copy link

mali208 commented Mar 12, 2018

@pourmirzai waiting for that usable RTL version.. 👍

@RedMoonLight
Copy link

still no RTL version?

@nnixaa nnixaa mentioned this issue Mar 26, 2018
2 tasks
@pourmirzai
Copy link

Hi
I switched to another framework to create my project so I've abandoned the RTL file. Before this, I've changed many classes in templates and not sure if these files will help you enough.
Here is instruction:

  1. Add this line just before </head> in /src/index.html:
    <link rel="stylesheet" href="assets/rtl.css">
  2. download attached zip file and extract it.
  3. put rtl.css in /src/assets/
  4. put fonts folder inside /src/assets/. Attached Fonts are opensource and free to use.
  5. put blur-bg-new.jpg folder inside /src/assets/images

That' it. hope this helps someone. the expected screen is also attached.
Good luck

RTL for NGX-admin.zip
download

@nnixaa nnixaa added this to the v2.2.0 milestone Apr 23, 2018
@nnixaa
Copy link
Collaborator

nnixaa commented Apr 23, 2018

Hey Guys, the RTL support is on its way into the next release. You can check the corresponding PR here #1634.

@hosseinGanjyar
Copy link

hosseinGanjyar commented May 11, 2018

How can I set default for RTL?

@nnixaa
Copy link
Collaborator

nnixaa commented May 14, 2018

RTL support is released now, here the docs https://akveo.github.io/nebular/#/docs/usability/righttoleft-rtl. Hope you find it useful!

@nnixaa nnixaa closed this as completed May 14, 2018
@alikarimii
Copy link

hi
when install ngx-admin, go to app/@theme/theme.module.ts and edit like this:
`
const NB_THEME_PROVIDERS = [

...NbThemeModule.forRoot(
{
name: 'cosmic',
},
[ DEFAULT_THEME, COSMIC_THEME, CORPORATE_THEME ],
DEFAULT_MEDIA_BREAKPOINTS,
NbLayoutDirection.RTL

).providers,
...NbSidebarModule.forRoot().providers,
...NbMenuModule.forRoot().providers,
];
`

@Rezar00
Copy link

Rezar00 commented Nov 25, 2019

Hi,
I've done what you have said, but side bar is still on the left side, what should i do?

@KhaledRostampour
Copy link

KhaledRostampour commented Nov 7, 2020

for sidebar add "start" without quote to <nb-sidebar start></<nb-sidebar>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests