bitfoundation / bitplatform

Build all of your apps using what you already know and love ❤️
https://bitplatform.dev
MIT License
1.04k stars 217 forks source link

[Feature Requested] Add Auto Change Layout Direction (Rtl , Ltr) By Button Or Change Culture #6542

Closed AmBplus closed 5 months ago

AmBplus commented 6 months ago

Is there an existing issue for this?

Is your feature request related to a problem? Please describe the problem.

like many other similar project (mudblazor for example) ,It's Very Well if we can change layout by click on button or change direction by change culture(like change to persian and become Rtl)

Describe the solution you'd like

Need To Change All The Stuff By Hard Code For Each Project And The Bit Is Not Write By Bootstrap Or Similar Library So Need Pure Js Css Html For Do All Of That Stuff

Additional context

No response

msynk commented 5 months ago

@AmBplus Thank you for contacting us. The request is not clear enough for us. Please add more information about your request. what product do you want to have this feature? providing a sample/demo link would clear the situation even better.

AmBplus commented 5 months ago

Ok , I Will Show You See https://github.com/Maanfee/Maanfee-Dashboard , Just The Ui :) I Must Say That I care about the UI structure, like changing the layout, changing the culture, and so on. In this MudBlazor admin template project, when I change the language and select English, the whole UI becomes LTR. And when I click on Persian, the whole UI becomes RTL. In Bit Platform, I don't see such a function. I need to go to the code and change styles and create this function myself. But in MudBlazor this function exists by default. For now, I see Bit Platform has the base structure of such a thing, such as built-in localization and so on. And it just needs some modifications to the UI to implement this. As I discussed with Mr. Yaser Moradi on Telegram, I understand the components have RTL mode, so it just needs a few UI changes and this function will work. I hope to see this function on Bit Platform soon. image image The Template I Send Have Many Problem , I Just Send It As Example Of The Function I Said Before About The Rtl Mode And Ltr Mode The main point is having a built-in way to toggle the entire UI between LTR and RTL based on language selection,

msynk commented 5 months ago

@AmBplus Thanks for the clarification. Unfortunately not all of the bit BlazorUI components support RTL atm. but what you need is a global feature to change the layout of all components from a single point which has its own separate issue here: https://github.com/bitfoundation/bitplatform/issues/363 so I will close this issue in favor of the old one.