Re: Arabic and other RTL ( Right to Left) languages User Interface

Sorry@poncho1234

I did not explain things properly.. I do have POEDIT and have apmuthu version of the file and its about 90% correct but 100% translated. Some of it is a direct google translation which is not 100% correct. Contextual translation needs some human intervention especially when a Technical or special Accounting terms are used.. but that is not my main concern as I edit the Translation file to the terms that suit my organization..

What I meant is the text inside the graphics in the dashboard as seen in the attached file.

Appreciate your efforts.

Post's attachments

DashBoard.png 18.3 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

Re: Arabic and other RTL ( Right to Left) languages User Interface

Have a look at the translation strings in includes/dashboard.inc - these strings are in the .po file available for translation. Compare with the English versions and match the translations.

Another file of interest is reporting/includes/class.graphic.inc that is included in admin/dashboard.php.

28 (edited by poncho1234 07/09/2019 06:03:12 pm)

Re: Arabic and other RTL ( Right to Left) languages User Interface

I think it's this:- It's your GL Account Classes:-
What are the names of your GL Account Classes? Go to Banking And General Ledger->GL Account Classes: Change names of Income and Cost classes...may as well change the rest why you are there.

Re: Arabic and other RTL ( Right to Left) languages User Interface

@poncho1234

I am getting there. One last thing .. Where can I change the font size of the Reports and Analysis screens?

Appreciate your help.

Re: Arabic and other RTL ( Right to Left) languages User Interface

Most browsers use CTRL +/- to adjust display font size. All reports have font settings tied to column widths.

31 (edited by rafat 07/30/2019 11:47:05 am)

Re: Arabic and other RTL ( Right to Left) languages User Interface

Thanks @apmuthu

I guess you are right with the browser font -/+..but we really need to fix the starting font size.. Its minute with English and with Arabic its minuscule. I looked into the default.css and could not decipher where this font size is defined. I meant when one chooses Reports and Analysis (../reporting/reports_main.php?Class=6)

Thanks..

32 (edited by poncho1234 07/30/2019 11:46:08 pm)

Re: Arabic and other RTL ( Right to Left) languages User Interface

Re-reading you may just want this:-
There is no css class defined just for this, so you need to add one:-

.repclass tbody tr td a {
    font-size: 12px;
}

Note:- .repclass a {... should work, but not tested

That will do only the Reports For Class: list, to change the report classes: list read the following:-

How do you see what css affects what element on a page?
Either press the F12 key OR right-click on page element and select 'Inspect'(Chrome) or 'Inspect Element'(Firefox) You should now see a panel showing html and another panel showing the relevant css.

Have a play

Tips -
You can change what you want and instantly see the results(They are not saved, to cancel changes just press page refresh), then make the changes in the css file.
In Firefox only (sadly not chrome) if you right-click over an html element(in html panel) select 'Copy' then 'CSS Path'; paste that into a text editor and you will see the complete css path, shorten as necessary, then use.

Google 'how to use browser developer tools' for more info