Ar Culture Text align Viewing vs.Expt/Pnt

28 posts, 1 answers
  1. Fatima Mohey
    Fatima Mohey avatar
    12 posts
    Member since:
    Sep 2009

    Posted 22 Oct 2009 Link to this post

    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.
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 23 Oct 2009 Link to this post

    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.
  3. DevCraft banner
  4. Fatima Mohey
    Fatima Mohey avatar
    12 posts
    Member since:
    Sep 2009

    Posted 23 Oct 2009 Link to this post

    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?!!!!
  5. Fatima Mohey
    Fatima Mohey avatar
    12 posts
    Member since:
    Sep 2009

    Posted 27 Oct 2009 Link to this post

    anyone get me here?!!!!
  6. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 27 Oct 2009 Link to this post

    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.
  7. Fatima Mohey
    Fatima Mohey avatar
    12 posts
    Member since:
    Sep 2009

    Posted 28 Oct 2009 Link to this post

    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!
  8. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 28 Oct 2009 Link to this post

    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.
  9. Fatima Mohey
    Fatima Mohey avatar
    12 posts
    Member since:
    Sep 2009

    Posted 29 Oct 2009 Link to this post

    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.
  10. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 29 Oct 2009 Link to this post

    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.
  11. Pankaj Patel
    Pankaj Patel avatar
    3 posts
    Member since:
    Oct 2009

    Posted 03 Nov 2009 Link to this post

    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
  12. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 04 Nov 2009 Link to this post

    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.
  13. Pankaj Patel
    Pankaj Patel avatar
    3 posts
    Member since:
    Oct 2009

    Posted 04 Nov 2009 Link to this post

    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
  14. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 09 Nov 2009 Link to this post

    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.
  15. atiyeh darzi
    atiyeh darzi avatar
    4 posts
    Member since:
    Dec 2009

    Posted 09 Dec 2009 Link to this post

    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.
  16. atiyeh darzi
    atiyeh darzi avatar
    4 posts
    Member since:
    Dec 2009

    Posted 09 Dec 2009 Link to this post

    this is image of my problem.
  17. דרור
    דרור avatar
    2 posts
    Member since:
    Sep 2012

    Posted 28 Jan 2013 Link to this post

    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
  18. Stef
    Admin
    Stef avatar
    3041 posts

    Posted 31 Jan 2013 Link to this post

    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!

  19. Ashraf Sabry
    Ashraf Sabry avatar
    88 posts
    Member since:
    Jan 2011

    Posted 19 Aug 2014 Link to this post

    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?
  20. Stef
    Admin
    Stef avatar
    3041 posts

    Posted 22 Aug 2014 Link to this post

    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.

     
  21. Ashraf Sabry
    Ashraf Sabry avatar
    88 posts
    Member since:
    Jan 2011

    Posted 24 Aug 2014 in reply to Stef Link to this post

    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.
  22. Stef
    Admin
    Stef avatar
    3041 posts

    Posted 27 Aug 2014 Link to this post

    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.

     
  23. Ehsan
    Ehsan avatar
    7 posts
    Member since:
    Feb 2016

    Posted 23 Feb Link to this post

    Hello,

    I'm using telerik 2016 Q1 report version,

    and this conversation issue still exist!

     

  24. Stef
    Admin
    Stef avatar
    3041 posts

    Posted 25 Feb Link to this post

    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
  25. Ehsan
    Ehsan avatar
    7 posts
    Member since:
    Feb 2016

    Posted 27 Feb in reply to Stef Link to this post

    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

  26. Ehsan
    Ehsan avatar
    7 posts
    Member since:
    Feb 2016

    Posted 29 Feb Link to this post

    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

  27. Stef
    Admin
    Stef avatar
    3041 posts

    Posted 02 Mar Link to this post

    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
  28. Answer
    Ehsan
    Ehsan avatar
    7 posts
    Member since:
    Feb 2016

    Posted 05 Mar Link to this post

    Hello,

     

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

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

  29. Stef
    Admin
    Stef avatar
    3041 posts

    Posted 08 Mar Link to this post

    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
Back to Top
DevCraft banner