This is a migrated thread and some comments may be shown as answers.
Ar Culture Text align Viewing vs.Expt/Pnt
27 Answers 148 Views
This is a migrated thread and some comments may be shown as answers.
Fatima Mohey
Top achievements
Rank 1
Fatima Mohey asked on 22 Oct 2009, 11:51 AM
Hello Guys,
 i'm having an issue here, when i made a new culture following these steps: http://www.telerik.com/help/reporting/advanced-localizing-reports.html

The Arabic text is displayed correctly but the problem is actually in the alignment of that text.


The problem is when am switching to arabic culture Leaving it with the default align (left) will be shown in the webpage as it’s right aligned(cuz it's arabic culture) but when exporting or printing u find it aligned to left.

and when changing the align of text to right will be shown in the webpage aligned to left and printed/exported aligned to right.


Can anyone tell me what's going one there?!!!


attatched: - screenshot for the report from the webpage
                 -  screenshot for the report from the PDF.

27 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 23 Oct 2009, 07:17 AM
Hi Fatima,

It is the text in report items that would be changed based on localization and not the actual layout of the report. This works in html because the browsers are handling the rtl automatically, however this is not true for the pdf and other formats and you would need to create a new report with the desired layout for the specific culture.

All the best,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Fatima Mohey
Top achievements
Rank 1
answered on 23 Oct 2009, 09:44 PM
But i was not talking about the report layout here, i'm talking about the text alignment inside a textbox.
it's different in the webpage from the exporting/printing with arabic culture, and i believe it should be the same! 
so what's the problem with it?!!!!
0
Fatima Mohey
Top achievements
Rank 1
answered on 27 Oct 2009, 03:19 PM
anyone get me here?!!!!
0
Steve
Telerik team
answered on 27 Oct 2009, 04:48 PM
Hello Fatima,

As far as we can see from the screenshots you provided, the alignment inside the textboxes is the same. We apologize if we cannot notice the difference since we do not use Arabic characters in our daily work, and would appreciate if you point us where the differences are.

All the best,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Fatima Mohey
Top achievements
Rank 1
answered on 28 Oct 2009, 09:27 AM
ok steve may be am not so clear, look at the new picture i attached here and watch the difference in alignment for the "Fields.ItemMatrixID" textbox  between the three views using the arabic culture.

P.S of course this approach will not be noticed if the textbox width is small, but it's not the functionality i need in many reports.

Hope it's clear this time.
Thanks in advance!
0
Steve
Telerik team
answered on 28 Oct 2009, 06:08 PM
Hello Fatima,

Thank you for the clarification. Indeed you are correct and this seems to be a problem in the exported pdf. I would log this in our bug tracking system and we would research on how to address it.

Please excuse us for the temporary inconvenience.

Sincerely yours,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Fatima Mohey
Top achievements
Rank 1
answered on 29 Oct 2009, 07:40 AM
Thanks Steve, and don't forget that it's the same issue in the printing too.

Hope you just fix it as soon as you can.

With Regards,
 Fatima Mohey.
0
Steve
Telerik team
answered on 29 Oct 2009, 08:09 AM
Hello Fatima,

The print from the web viewer actually exports the report to pdf internally and raises the Adobe PDF plugin in the browser so that you can print, in other words it is the same thing. We would do our best to fix it for a subsequent version.

Your Telerik points have been updated for bringing this to our attention.

Kind regards,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Pankaj Patel
Top achievements
Rank 1
answered on 03 Nov 2009, 10:38 PM
Hi there,

This is indeed true, but it makes Telerik reporting obselete when using it in Right-To-Left environments.

I bought Telerik reporting to produce reports in RTL environmentm and I really would like to see this bug fixed ASAP because my clients can't print the reports like this..

Thanks
0
Steve
Telerik team
answered on 04 Nov 2009, 01:28 PM
Hello Pankaj,

As stated in previous reply (one week ago), we've logged the issue in our bug tracking system and it would be reviewed and addressed for subsequent version of the product.

Sorry for the inconvenience this might cause.

Kind regards,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Pankaj Patel
Top achievements
Rank 1
answered on 04 Nov 2009, 05:37 PM
Hi Steve,

Thanks for yor reply,
But if I may ask, when would be the next release and are there any internal builds that may solve this problem ?

Thanks
0
Steve
Telerik team
answered on 09 Nov 2009, 10:06 AM
Hello Pankaj,

I'm sorry for the confusion -  I had missed the fact that this issue has been fixed and available in the Q3 release (release notes available here). Download it and let us know how it goes.

Greetings,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
atiyeh darzi
Top achievements
Rank 1
answered on 09 Dec 2009, 01:33 PM
i have telerik reporting q3 2009 , but i have this problem again,
i use htmlTextBox and set Culture to Persian And Align Right.
in webpage i see text in left side, and in pdf/print i see text in right side and with right to left problem.
0
atiyeh darzi
Top achievements
Rank 1
answered on 09 Dec 2009, 01:49 PM
this is image of my problem.
0
דרור
Top achievements
Rank 2
answered on 28 Jan 2013, 10:52 AM
Hi:

It is very irritating that the Left-alignment issue of RTL cultures (e.g. Parsi, Arabic, Hebrew) has not been fixed as of today (27/1/2013).
It has been around for 3 years!

I am using version  v6.1.12.820 and this exact bug is there.

See my support ticket: 585778

:-(

Dror
0
Stef
Telerik team
answered on 31 Jan 2013, 10:39 AM
Hello Dror,

The issue is fixed in the latest Telerik Reporting Q3 2012 SP1 version. Please, check the attached screenshot results from our testing.

Let us know if you have any further questions.

Regards,
Stef
the Telerik team

HAPPY WITH REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

0
أشرف
Top achievements
Rank 1
answered on 19 Aug 2014, 03:00 PM
Greetings,

I'd like to revive this thread as I'm new to Telerik reports and want to know the state of RTL handling.

Is layout transposition (specially for tables) allowed for RT languages (I don't want to design a report for each language)?
What about printing and PDF exporting?
0
Stef
Telerik team
answered on 22 Aug 2014, 01:29 PM
Hello Ashraf,

To summarize the information for RTL support:
  • The text direction in a report item can be controlled by setting a proper Culture - Report Globalization.
  • There is a known limitation for the HtmlTextBox item, which does not support RTL - HtmlTextBox.
  • The only think you should consider when exporting into PDF is to use Unicode fonts - Design Considerations for PDF Rendering.
  • Report items do not change their layout or position automatically. If you use a Table/Crosstab/List item with groupings, the parent group cell is always positioned at the left side of the item.

Let us know if you have any further questions.

Regards,
Stef
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
أشرف
Top achievements
Rank 1
answered on 24 Aug 2014, 12:19 PM
Thanks for your reply.

I think I may better not modify the alignment of text boxes when I change to RTL.
As for tables, I wrote a function that reverses columns order, and it works well.

Still my test report has some alignment problems on the web viewer when I display Latin text in RTL or Arabic text in LTR (please view the attached images. Latin text is misaligned on RTL, and aligned properly on LTR).
This problem doesn't occur when I export to PDF. The two layouts work properly.
0
Stef
Telerik team
answered on 27 Aug 2014, 04:17 PM
Hi Ashraf,

Please open a support ticket and send us the report, including test data. We will update this thread for anyone concerned once we check the settings.

Regards,
Stef
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Ehsan
Top achievements
Rank 1
answered on 23 Feb 2016, 11:09 AM

Hello,

I'm using telerik 2016 Q1 report version,

and this conversation issue still exist!

 

0
Stef
Telerik team
answered on 25 Feb 2016, 03:55 PM
Hello Ehsan,

Please check the attached demo report:
  1. It has a single TextBox item with the following text "العربية";
  2. The TextBox.Culture is set to 'ar';
The content is rendered correctly in both preview and PDF.

Please modify the report to illustrate the problem. The report can be opened and modified with the Sandalone Report Designer of Telerik Reporting Q1 2016 or greater.

Regards,
Stef
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Ehsan
Top achievements
Rank 1
answered on 27 Feb 2016, 06:40 AM

Hello dear Stef,

Actually I'm discussing about "Telerik HTML 5 Report Viewer",
Which when you use "Arabic" words with numbers or English letters, Right to left will sentences will mess.

Thank you

0
Ehsan
Top achievements
Rank 1
answered on 29 Feb 2016, 10:08 AM

Hello dear Stef,
Actually I'm discussing about "Telerik HTML 5 Report Viewer",
Which when you use "Arabic" words with numbers or English letters, Right to left sentences in PDF export and printing and HTML 5 Report designer are different! 

Thank you

0
Stef
Telerik team
answered on 02 Mar 2016, 09:28 AM
Hello Ehsan,

The issue is not reproducible with Telerik Reporting Q1 2016 SP1 v10.0.16.211, and a report witth TextBox item with Culture set to 'ar'. The report displays the text in the same way in design preview, PDF and HTML (the HTML5 Viewer).


Please check if you are using a TextBox item and setting its Culture property resolves the issue. Also check if the above mentioned version of Telerik Reporting changes the way the content is rendered. External CSS rules may also affect the rendered HTML, thus inspect the HTML with the browser's developer tools and trace the style inheritance.


In order to provide you more accurate suggestions, please provide step by step instructions how to reproduce the problem, or open a support ticket and send us a demo report.

Regards,
Stef
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Accepted
Ehsan
Top achievements
Rank 1
answered on 05 Mar 2016, 01:55 PM

Hello,

 

Thank you dear Stef, The solution key was TextBox item, I used HtmlTextBox before it,

Thank you very much....... <3 <3 <3

0
Stef
Telerik team
answered on 08 Mar 2016, 12:22 PM
Hi Ehsan,

I am glad to hear the issue is resolved.

For anyone interested, the HtmlTextBox item does not have RTL support - HtmlTextBox overview.

Regards,
Stef
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Asked by
Fatima Mohey
Top achievements
Rank 1
Answers by
Steve
Telerik team
Fatima Mohey
Top achievements
Rank 1
Pankaj Patel
Top achievements
Rank 1
atiyeh darzi
Top achievements
Rank 1
דרור
Top achievements
Rank 2
Stef
Telerik team
أشرف
Top achievements
Rank 1
Ehsan
Top achievements
Rank 1
Share this question
or