-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[Request] RTL support #9530
Comments
@Zontex if you are referring to the PDF's and RTL support, you would need to use css helpers which would enable this. Within the UI of the application rtl is not supported. |
Hi thanks for your reply, yes this is exactly what I mean. is there any instructions available on how to do so? |
these types of CSS properties are available: p.rtl { |
Got you, thank you so much for the quick response! any plan to make it integrated option? once changed to RTL language such as Arabic/Hebrew it will automatically change the PDF/UI view? |
I changed the invoice successfully to this CSS:
But I still haven't figured out how to RTL the entire UI. when I do RTL on the body, it breaks the UI. any suggestion? |
RTL is super tricky, and it is not something I am familiar with at all. For this to be supported, the invoice designs would need to be customized to suit with the correct CSS implementation. This would be a task best suited for a user whose language is RTL, I am happy to assist however in getting the designs updated. |
I sent here the correct design for the invoice, confirmed it's working. multiple places need to update the RTL. I'm wondering if there is anyway within the framework to say something like IF hebrew then use RTL template, if not use normal template..? |
I'm not sure this could be executed, The best solution for this would be to create a client/group setting for your RTL clients and set your RTL design as the default design for those clients. |
@Zontex I see your design creates a complete mirror image, including reversing the columns of the invoice table. Is this the way RTL is support to work? |
That's a brilliant idea. Then I can leave the UI in English and serve Israeli clients with RTL portal/invoicing. will dig deeper into it. I suggest to leave this ticket open, i'll get this all working and push updates perhaps others Arabic/Hebrew needs could be served with this information. |
Yes it's exactly the way RTL work. RTL is Right-to-left, everything is the opposite. If you keep English or any other non-rtl language, it will look weird, but in RTL it looks perfect. |
@turbo124 There are many localization fields missing, how can I localize Hebrew? I guess as updates went, some fields hasn't been updated. would love some guidance on where to get the latest english file so I can localize it completely to Hebrew |
@Zontex we manage our translations here, you can join up and adjust the translations as necessary |
I just tested your advice it works completely well. I opened a group called it "israeli clients" and then created a template for each thing: portal, invoice etc... with RTL called it "invoice rtl" or "portal rtl" then assigned the template to that group. |
@turbo124 Quick update regarding RTL exploration: I managed to perfectly design the portal to RTL based on the user group using the following code:
Now the last issue that seems I can't resolve is the main dashboard. if I create an account to login to Invoice ninja with RTL language by default, I dont see a place where I can inject custom CSS code into the dashboard object? in the portal by injecting the code I could fix all the portal dashboard, any chance to put a priority into adding css/javascript custom code injection on the dashboard based on a specific user / user group? |
The front end implementation would need to have the react code modified. @beganovich is there an easy win to support RTL with the react UI? |
That's the web app, here are links to the desktop app. |
No it's the Desktop APP for OSX, I just took a screenshot from inside
…On Sun, May 19, 2024 at 3:01 PM Hillel Coren ***@***.***> wrote:
That's the web app, here are links to the desktop app.
https://invoiceninja.com/apps
—
Reply to this email directly, view it on GitHub
<#9530 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AETSJRN3LVEORW7OONE4PKDZDCIBDAVCNFSM6AAAAABH4B23X6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJZGIYTANJQG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
~ Roni
___________________
*Roni Gorodetsky*
CN: +86 (136) 8688 2152
IL: +972 (054) 9736 866
微信 (Wechat ID): rongo1706
Whatsapp: +972 (054) 9736 866
|
This is the macOS app, the screenshot you shared is the React web app. |
What version of Invoice Ninja are you running? ie v4.5 / v5
v5
What environment are you running?
ZIP / self hosted Debian Nginx
Have you searched existing issues/requests?
Yes
Additional context
I've seen it's possible to add labels to each function to translate the system but how to enable RTL support? is there a built-in RTL support and if not, any chances to add?
The text was updated successfully, but these errors were encountered: