[docs.kde.org] [Bug 481330] New: Support RTL layout for Arabic doc

2024-02-14 Thread Zayed Al-Saidi
https://bugs.kde.org/show_bug.cgi?id=481330

Bug ID: 481330
   Summary: Support RTL layout for Arabic doc
Classification: Websites
   Product: docs.kde.org
   Version: unspecified
  Platform: Other
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: docs.kde.org
  Assignee: kde-doc-english@kde.org
  Reporter: zayed.alsa...@gmail.com
  Target Milestone: ---

Currently, the layout of KDE Documentation website does not support RTL layout. 

You can check Documentation of Kturtle:
https://docs.kde.org/stable5/ar/kturtle/kturtle/

What is required is to inject these one CSS properties in the body tag for RTL
language

text-align: right;

-- 
You are receiving this mail because:
You are the assignee for the bug.

[frameworks/kdoctools/kf5] /: Add Arabic Support

2023-05-09 Thread Zayed Al-Saidi
<pre>Git commit a93638c7e662b34e351b9301c7e2945a7a81833a by Zayed Al-Saidi.
Committed on 07/05/2023 at 15:33.
Pushed by ltoscano into branch 'kf5'.

Add Arabic Support

Add Arabic Support in the customization folder and common folder (i.e. 
kde-localised.css)


(cherry picked from commit df42a120f878d529d85afc8aebf2aa125653a67b)

A  +39   -0common/ar/kde-localised.css
A  +38   -0src/customization/ar/catalog.xml
A  +1-0src/customization/ar/entities/ccbysa4-notice.docbook
A  +49   -0src/customization/ar/entities/fdl-notice.docbook
A  +24   -0src/customization/ar/entities/gpl-notice.docbook
A  +64   -0src/customization/ar/entities/help-menu.docbook
A  +7-0src/customization/ar/entities/install-compile.docbook
A  +8-0src/customization/ar/entities/install-intro.docbook 
[INFRASTRUCTURE]
A  +24   -0src/customization/ar/entities/lgpl-notice.docbook
A  +2-0src/customization/ar/entities/report-bugs.docbook
A  +2-0src/customization/ar/entities/underArtisticLicense.docbook
A  +2-0src/customization/ar/entities/underBSDLicense.docbook
A  +1-0src/customization/ar/entities/underCCBYSA4.docbook
A  +3-0src/customization/ar/entities/underFDL.docbook
A  +2-0src/customization/ar/entities/underGPL.docbook
A  +2-0src/customization/ar/entities/underLGPL.docbook
A  +2-0src/customization/ar/entities/underX11License.docbook
A  +3-0src/customization/ar/entities/update-doc.docbook
A  +59   -0src/customization/ar/lang.entities
A  +39   -0src/customization/ar/strings.entities
A  +51   -0src/customization/ar/user.entities

<a  rel="nofollow" href="https://invent.kde.org/frameworks/kdoctools/commit/a93638c7e662b34e351b9301c7e2945a7a81833a">https://invent.kde.org/frameworks/kdoctools/commit/a93638c7e662b34e351b9301c7e2945a7a81833a</a>

diff --git a/common/ar/kde-localised.css b/common/ar/kde-localised.css
new file mode 100644
index ..2fe669b7
--- /dev/null
+++ b/common/ar/kde-localised.css
@@ -0,0 +1,39 @@
+/*
+KDE CSS for ar HTML documentation (all media types).
+    SPDX-FileCopyrightText: 2023 Zayed Al-Saidi <zayed.alsa...@gmail.com>
+
+SPDX-License-Identifier: GPL-2.0-or-later
+
+ */
+
+/*
+   These settings will override kde-default.css.
+
+   Any updates should be validated, e.g. <a  rel="nofollow" href="http://jigsaw.w3.org/css-validator/">http://jigsaw.w3.org/css-validator/</a>
+*/
+
+body{
+direction:rtl;
+text-align:right;
+}
+.userinput{  
+padding-right:3px;
+padding-left:3px;
+}
+.author{
+direction:ltr;
+text-align:left;
+}
+.copyright { 
+direction:ltr;
+text-align:left;
+}
+.othercredit {
+direction:ltr;
+text-align:left;
+ 
+}
+.legalnotice{
+direction:ltr;  
+text-align:left;
+}
\ No newline at end of file
diff --git a/src/customization/ar/catalog.xml b/src/customization/ar/catalog.xml
new file mode 100644
index ..79fc3fcf
--- /dev/null
+++ b/src/customization/ar/catalog.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0"?>
+<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog 
V1.0//EN" "<a  rel="nofollow" href="http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd&quot">http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd&quot</a>;>
+<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
+  <public publicId="-//KDE//ENTITIES English Documentation V1.0//AR"
+  uri="lang.entities"/>
+
+  <public publicId="-//KDE//DOCUMENT GNU Free Documentation Notice//AR"
+  uri="entities/fdl-notice.docbook"/>
+  <public publicId="-//KDE//DOCUMENT GNU General Public License Notice//AR"
+  uri="entities/gpl-notice.docbook"/>
+  <public publicId="-//KDE//DOCUMENT GNU Lesser General Public License 
Notice//AR"
+  uri="entities/lgpl-notice.docbook"/>
+
+  <public publicId="-//KDE//DOCUMENT GPL Licence Declaration//AR"
+  uri="entities/underGPL.docbook"/> 
+  <public publicId="-//KDE//DOCUMENT LGPL Licence Declaration//AR"
+  uri="entities/underLGPL.docbook"/> 
+  <public publicId="-//KDE//DOCUMENT CC BY-SA 4.0 Licence Declaration//AR"
+  uri="entities/underCCBYSA4.docbook"/>
+  <public publicId="-//KDE//DOCUMENT FDL Licence Declaration//AR"
+  uri="entities/underFDL.docbook"/>
+  <public publicId="-//KDE//DOCUMENT BSD Licence Declaration//AR"
+  uri="entities/underBSDLicense.docbook"/>
+  <public publicId="-//KDE//DOCUMENT Artistic Licence Declaration//AR"
+  uri="entities/underArtisticLicense.docboo

[docs.kde.org] [Bug 468982] Enable Arabic

2023-05-02 Thread Zayed Al-Saidi
https://bugs.kde.org/show_bug.cgi?id=468982

--- Comment #3 from Zayed Al-Saidi  ---
(In reply to Yuri Chornoivan from comment #2)
> Git commit 9fd9ac37ca1e9f4c0a607030da207455afb73dff by Yuri Chornoivan.
> Committed on 26/04/2023 at 09:23.
> Pushed by ltoscano into branch 'master'.
> 
> Add Arabic to the docs languages (thanks to Zayed Al-Saidi)
> 
> M  +1-0languages
> 
> https://invent.kde.org/websites/docs-kde-org/commit/
> 9fd9ac37ca1e9f4c0a607030da207455afb73dff

Thanks. Is there any timeframe to push the change from gitlab source to the
production server?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[docs.kde.org] [Bug 468982] New: Enable Arabic

2023-04-25 Thread Zayed Al-Saidi
https://bugs.kde.org/show_bug.cgi?id=468982

Bug ID: 468982
   Summary: Enable Arabic
Classification: Websites
   Product: docs.kde.org
   Version: unspecified
  Platform: Other
OS: Other
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: docs.kde.org
  Assignee: kde-doc-english@kde.org
  Reporter: zayed.alsa...@gmail.com
  Target Milestone: ---

Please enable Arabic support in https://docs.kde.org/ .  Currently, Kturtule's
Handbook is fully translated to Arabic. 

Please also, add the right RTL support in the CSS.  After enabling Arabic, I
can report any issue in the standard-rtl.css . I what I can see, it lacks
direction:rtl; in the body{}.

-- 
You are receiving this mail because:
You are the assignee for the bug.