ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

wiki ROS in Arabic

asked 2022-05-19 06:50:06 -0600

nadim.arubai gravatar image

How to add a new language (Arabic) to the main documentation page at so we can add more tutorials for Arabs users.

I want to work on a translation for the main documentation.

edit retag flag offensive close merge delete



Could you check whether #q311848, #q11156 and #q258040 help?

If they do, please close your own question as a duplicate.

gvdhoorn gravatar image gvdhoorn  ( 2022-05-19 08:13:42 -0600 )edit


#q311848 helps me in creating 'ar' folder, But there's another issue specific to Arabic:

It's Written Right to Left, and not all text editor fix the problem of writing in 2 languages at same time:

Arabic from Right to Left (RTL), and English from Left to Right (LTR).

So I need help in those:

1> Change the general direction of the page to be from Right to Left.

the edit option only allows adding string with a few other options not including page direction.

2> the ability to write in opposite directions languages RTL and LTR.

I tried Unicode specific characters to force change direction but it failed.

nadim.arubai gravatar image nadim.arubai  ( 2022-05-20 05:24:22 -0600 )edit

I managed to switch the direction with dir="rtl" in a few div inside the html template (using inspect command).

But this is on my pc, so how to add it the original template? and the sidebar also need to be put on the left side.

nadim.arubai gravatar image nadim.arubai  ( 2022-05-21 04:52:12 -0600 )edit

1 Answer

Sort by » oldest newest most voted

answered 2022-05-21 10:47:24 -0600

gvdhoorn gravatar image

updated 2022-05-21 10:48:49 -0600

Change the general direction of the page to be from Right to Left.

At first I thought this wasn't supported by MoinMoin, but apparently you can add #language ar to the top of the page and it will cause MoinMoin to render RTL languages correctly (or at least: it will change the text rendering direction to RTL).

Here is a preview of for instance:

ROS wiki RTL

As to your other questions: I can only tell you the ROS Wiki is a MoinMoin instance. So if you want to find out how to do something, try searching for information on how you'd do that with MoinMoin.

Having written that: MoinMoin isn't very actively developed any more afaik, so there is a good chance that some features will not work, or not work entirely as you'd expect or would like.

You'll have to experiment a bit I'm afraid. And probably work around some issues you encounter.

edit flag offensive delete link more


Thanks, It's worked.

using "#language ar " helps is solving the first part.

I'm searching MoinMoin for the second part, but you can open "" to see the problem of bad anchoring the global layout of the text after

ضمان الجودة (انكليزي)

However, changing the float attribute to right , and changing the margin help on my PC.

nadim.arubai gravatar image nadim.arubai  ( 2022-05-21 12:05:18 -0600 )edit

I'll consider the problem as solved for now, because the view of 'ar' page is differ with different browser on the same OSs, and differ with the same browser on different OSs. Nevertheless, the texts are readable, so I'll focus on the translation.

nadim.arubai gravatar image nadim.arubai  ( 2022-05-23 09:58:19 -0600 )edit

Please do not close questions if/when they have an accepted answer.

They'll show up as [closed] in the question list, while in reality they are answered.

We reserve closing for questions which violate support policies, are off-topic, etc.

gvdhoorn gravatar image gvdhoorn  ( 2022-05-24 01:59:04 -0600 )edit


How to reopen it, or have you already opened it?

nadim.arubai gravatar image nadim.arubai  ( 2022-05-25 03:49:01 -0600 )edit

No need to apologise.

I've already re-opened it.

gvdhoorn gravatar image gvdhoorn  ( 2022-05-25 04:02:44 -0600 )edit

Question Tools

1 follower


Asked: 2022-05-19 06:50:06 -0600

Seen: 323 times

Last updated: May 21 '22