As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
NOTE: Though Arabic labels etc are supported, the support is not 100% (I mean it is not right to left). You still see the menu, editor, user interface etc as left to right.
Have you managed to overcome RTL (Right to Lift) issue in Alfresco Explorer?
hi youniswhats your mean by sayHave you managed to overcome RTL (Right to Lift) issue in Alfresco Explorer??you mean that we can change ltr to rtl?thank you
Hi allAnyone considered RTL for Share (struggling with it now :x )
Hi all(Since Explorer does not offer the features that Share offers' for users)
Hi Friends,Me also, i am planning to improve the Arabic package, it should include in addition to the words translation, the Right to Left layout which should be added without affecting the left to fight languages on the same installed alfresco.If anyone is interested in cooperation, i would be thankful.
\tomcat\webapps\alfresco
\tomcat\webapps\alfresco\scripts
\tomcat\webapps\alfresco\jsp\parts\titlebar.jsp
<%@ page import="javax.faces.context.FacesContext" %> <% FacesContext fc2 = FacesContext.getCurrentInstance(); String layoutLanguage = Application.getLanguage(fc2).toString(); %>
\tomcat\webapps\alfresco\jsp\browse\browse.jsp \tomcat\webapps\alfresco\jsp\browse\dashboard.jsp \tomcat\webapps\alfresco\jsp\dashboards\container.jsp \tomcat\webapps\alfresco\jsp\dialog\container.jsp \tomcat\webapps\alfresco\jsp\dialogs\container.jsp
<%@ page import="javax.faces.context.FacesContext" %>
<% FacesContext fc2 = FacesContext.getCurrentInstance(); String layoutLanguage = Application.getLanguage(fc2).toString(); if(layoutLanguage.equals("ar_JO")) { %> <script type="text/javascript" src="<%=request.getContextPath()%>/scripts/jquery.min.js"> <script type="text/javascript" src="<%=request.getContextPath()%>/scripts/for-ar.js"> </script> <% } %>
jQuery(function () { jQuery("body").css("direction","rtl"); jQuery("img").each(function(i){ var oldLink = jQuery(this).attr("src"); var newLink = oldLink.replace("/images","/images-ar"); jQuery(this).attr("src",newLink); }); jQuery.each(jQuery("*").get().reverse(), function (i) { var backgroungImg = jQuery(this).css("background-image"); var textalign = jQuery(this).css("text-align"); var leftPadding = jQuery(this).css("padding-left"); var rightPadding = jQuery(this).css("padding-right"); var leftBorderWidth = jQuery(this).css("border-left-width"); var rightBorderWidth = jQuery(this).css("border-right-width"); var leftMargin = jQuery(this).css("margin-left"); var rightMargin = jQuery(this).css("margin-right"); var floatVal = jQuery(this).css("float"); var align = jQuery(this).attr("align"); if (backgroungImg != "none") { var newValue = backgroungImg.replace("/images","/images-ar"); jQuery(this).css("background-image",newValue); } if (jQuery.browser.msie == false || jQuery.browser.msie == undefined) { if (textalign == "left") {jQuery(this).css({'text-align': 'right'});} else if (textalign == "right"){jQuery(this).css({'text-align': 'left'});} } if (floatVal == "left") {jQuery(this).css({'float': 'right'});} else if (floatVal == "right"){jQuery(this).css({'float': 'left'});} if (align == "left") {jQuery(this).attr("align","right")} else if (align == "right") {jQuery(this).attr("align","left")} if (rightPadding != leftPadding) { jQuery(this).css("padding-left",rightPadding); jQuery(this).css("padding-right",leftPadding); } if (rightMargin != leftMargin) { jQuery(this).css("margin-left", rightMargin); jQuery(this).css("margin-right", leftMargin); } if (leftBorderWidth != rightBorderWidth) { jQuery(this).css("border-left-width", rightBorderWidth); jQuery(this).css("border-right-width", leftBorderWidth); } }); });
\tomcat\webapps\alfresco\jsp
<%– JQuery Call–%> <% String layoutLanguage = Application.getLanguage(fc).toString(); if(layoutLanguage.equals("ar_AR")) { %> <script type="text/javascript" src="<%=request.getContextPath() %>/scripts/jquery.min.js"></script> <script type="text/javascript" src="<%=request.getContextPath() %>/scripts/for-ar.js"></script> <script type="text/javascript"> $("body").css("background-position","right top"); </script> <% } %>
Dear Al-Modhafar,I am very thankful for your efforts in writing this and your invention in this domain, i will check it later, benefit of it and give my comments and recommendations in God Well!Thank you very much bro.