givanz / Vvveb

Powerful and easy to use cms to build websites, blogs or ecommerce stores.
https://www.vvveb.com
GNU Affero General Public License v3.0
384 stars 82 forks source link

Editor support in Arabic #213

Open maheshwaricharu opened 2 weeks ago

maheshwaricharu commented 2 weeks ago

Hi @givanz Please confirm if editor is supported in Arabic (RTL language)?
image

Considering the above it seems there is support for the same. Please provide any documentation reference or some guidance to incorporate the same in our local. Your help will be highly appreciated.

givanz commented 2 weeks ago

Hi

I added Arabic language pack https://github.com/Vvveb/ar the language pack can be installed from the language edit page https://demo.vvveb.com/admin/index.php?module=localization/language&language_id=8

The install button downloads vvveb.po to locale/ar/LC_MESSAGES/vvveb.po and then compiles vvveb.po to vvveb.mo.

Translations LC_MESSAGES/vvveb.po can be edited with a text editor or with a visual editor like poedit.

The initial translation is done with automatic translation, if you wish to share your improvements you can make a pull request, contributions are welcome.

mobiliseapplabllp commented 2 weeks ago

Does this mean that the pages generated to support the RTL alignment, or is it only the language labels of the editor that get updated into Arabic? We require that the pages generated from the editor can support RTL.

Kindly suggest.

givanz commented 2 weeks ago

Multi language content can be set from post/page edit page https://demo.vvveb.com/admin/index.php?module=content/post&post_id=6&type=post

Existing translations can be edited from https://demo.vvveb.com/admin/index.php?module=localization/translations&action=domain&lang=ar&domain=vvveb

New user defined translations can be added to user domain https://demo.vvveb.com/admin/index.php?module=localization/translations&lang=ar&domain=user&action=domains

Text can also be translated directly from the page builder https://demo.vvveb.com/admin/index.php?module=editor/editor&url=/&template=index.html

translate-page-builder translate-page-builder-2