<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Share Right-To-Left again in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/share-right-to-left-again/m-p/16081#M7116</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a translation project only. What about RTL support?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 20 May 2017 10:07:37 GMT</pubDate>
    <dc:creator>jamilnour</dc:creator>
    <dc:date>2017-05-20T10:07:37Z</dc:date>
    <item>
      <title>Share Right-To-Left again</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/share-right-to-left-again/m-p/16079#M7114</link>
      <description>Hello,I can find in this forum some old discussion about how to support RTL in Share depends on locale.I must do this task even it seems it is complex to achieve. I finished all the translation and it is time for RTL support.Can anybody explain to me in details how to do exactly?The main constraint</description>
      <pubDate>Fri, 19 May 2017 10:47:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/share-right-to-left-again/m-p/16079#M7114</guid>
      <dc:creator>jamilnour</dc:creator>
      <dc:date>2017-05-19T10:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Share Right-To-Left again</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/share-right-to-left-again/m-p/16080#M7115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Probably you can take these packages as sample:&amp;nbsp;&lt;A class="link-titled" href="https://crowdin.com/project/alfresco" title="https://crowdin.com/project/alfresco" rel="nofollow noopener noreferrer"&gt;Alfresco translations: collaborative internationalization and quality translation system Crowdin&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2017 13:16:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/share-right-to-left-again/m-p/16080#M7115</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2017-05-19T13:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Share Right-To-Left again</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/share-right-to-left-again/m-p/16081#M7116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a translation project only. What about RTL support?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 May 2017 10:07:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/share-right-to-left-again/m-p/16081#M7116</guid>
      <dc:creator>jamilnour</dc:creator>
      <dc:date>2017-05-20T10:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: Share Right-To-Left again</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/share-right-to-left-again/m-p/16082#M7117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe &lt;A __default_attr="122425" __jive_macro_name="user" _jive_internal="true" data-id="122425" data-objecttype="3" data-type="person" href="https://community.alfresco.com/people/yreg" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt;‌ has worked on RTL support in Share/AIkau in one of this previous projects. I hope he will take this mention as an invite to share his expertise on this matter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 09:11:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/share-right-to-left-again/m-p/16082#M7117</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-05-22T09:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Share Right-To-Left again</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/share-right-to-left-again/m-p/16083#M7118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jamil!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did work on a similar projects both in the context of Alfresco Share (4.2.x, 5.0.x CE), and standalone SpringSurf/Aikau applications and here are a few thoughts I can share with you in the context of share to correctly RTL display the application, however this is how I did address this a while back, given the current state of things at the time, and might be not the optimal/best way to do it :&lt;/P&gt;&lt;P&gt;- Styling for leftovers from the YUI era, including CSS, and JS used for styling/positioning; this is doable by extending the surf pages main template and extend it to conditionally set dir to RTL an import an extra lib.ftl with all the css/js to do the necessary overrides on the detection of one of the RTL locales; You might as well need to override some image assets presenting texts/arrow/... Upgrading this part should be as easy as copying over the new lib.ftl/CSS/JS/assets and make the appropriate changes to the main page template in share.&lt;/P&gt;&lt;P&gt;I believe this should be also doable via a Surf extension, but I had really hard time with order of loading and interpreting CSS/JS ...&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Styling Aikau widgets; For this part, I extended the spring-surf mechanism for loading, interpreting &amp;amp; aggregating css/less files to try first &amp;lt;filename&amp;gt;.&amp;lt;locale&amp;gt;.&amp;lt;extension&amp;gt; then fallback to&amp;nbsp;&lt;SPAN&gt;&amp;lt;filename&amp;gt;.&amp;lt;locale-without-country&amp;gt;.&amp;lt;extension&amp;gt; then fallback to&amp;nbsp;&lt;SPAN&gt;&amp;lt;filename&amp;gt;.&amp;lt;extension&amp;gt;, I also needed to add all &amp;lt;filename&amp;gt;.ar.&amp;lt;extension&amp;gt; for several existing Aikau widgets at the time, in order to correctly display them for my locale... I then realized that even though the .css files from Aikau widgets have CSS extensions, they were actually less files, so it would've been possible to contribute changes to the Aikau project introducing new parameterized styling entries (and have them resolving from the main defaults.less file which could start by including locale dependent variable sets) instead of duplicating files to make the necessary changes.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;I hope that helps !&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 09:59:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/share-right-to-left-again/m-p/16083#M7118</guid>
      <dc:creator>yreg</dc:creator>
      <dc:date>2017-05-22T09:59:13Z</dc:date>
    </item>
  </channel>
</rss>

