« Project home page
my little forum
Log in
Register
Search:
Back to the entry by Auge
Post reply
Reply to the message by
Auge
Name:
E-mail:
(optional, won't be displayed directly)
Leave this field empty:
Homepage:
(optional)
Leave this field empty:
Location:
(optional)
Remember me (cookie)
Category:
General
Project organisation
Technics
Design/Themes
Features
Development
Todo
Bugs
German / Deutsch
Spanish / Español
French / Français
Accessibility/UX
Subject:
Formatting help
skip to input
format text bold
[b]bold text[/b]
format text italic
[i]italic text[/i]
insert hyperlink
[link=http://example.com/]link text[/link] / [link]http://example.com/[/link]
set text color
[color=#rgb]colored text[/color]
font size
[size=small]small text[/size]
[size=large]large text[/size]
insert list
[list][*]list item[/list]
insert image
[img]http://example.com/image.jpg[/img]
left: [img=left]http://example.com/image.jpg[/img]
right: [img=right]http://example.com/image.jpg[/img]
thumbnail: [img=thumbnail]http://example.com/image.jpg[/img]
thumbnail left: [img=thumbnail-left]http://example.com/image.jpg[/img]
thumbnail right: [img=thumbnail-right]http://example.com/image.jpg[/img]
upload image
upload image ...
insert TeX code
[tex]TeX code[/tex]
insert code
[inlinecode]code[/inlinecode]
[code]code[/code]
[code=css]code[/code]
[code=html]code[/code]
[code=javascript]code[/code]
[code=perl]code[/code]
[code=php]code[/code]
[code=sql]code[/code]
[code=xml]code[/code]
:-)
;-)
:-P
:-D
:-|
:-(
:yes:
:no:
:ok:
:lol:
:lol2:
:lol3:
:cool:
:surprised:
:angry:
:crying:
:waving:
:confused:
:lookaround:
:clap:
:love:
:tick:
Message:
> Hello > > > [color=#c3c]Its a pleasure to add little thing for that work ,I make translation for ARABIC but i keep it with ENGLISH it works together very fine.[/color] > > It looks a little bit strange to see the arabic and english menu text sivde by side without any space but well, it's a beginning. Well done. 👍 > > > [color=#c00]I would like to mention one opinion to you,, > > one thing:-It will be great if you make the text alignment in center so you contain all languages witch is come from [left to right] and some from [right to left] -Or you may put alignment options.[/color] > > There is a general problem with the current implementation, that affects also your concept. Currently the forum does not explicitely set the text alignment with the exception of elements with a different alignment than the standard. Those definitions are based on latin languages which are written from left to right (as we know). > > Since a few years there is a enhancement to text-align, that is "flow related" and so writing direction independent. The (meanwhile not so) new values for [inlinecode]text-align[/inlinecode] are [inlinecode]start[/inlinecode] and [inlinecode]end[/inlinecode]. The use of the value [inlinecode]start[/inlinecode] will automatically result in [inlinecode]text-align: left;[/inlinecode] for languages, written left to right (ltr) and in [inlinecode]text-align: right;[/inlinecode] for languages written from right to left (rtl). The reverse is true for the value [inlinecode]end[/inlinecode]. > > This works also with a mix of different languages with different writing directions in one document, if the writing direction is properly defined. That starts with providing the correct [link=https://github.com/My-Little-Forum/mylittleforum/blob/20220803.1/lang/english.lang#L25]value for the key [inlinecode]dir[/inlinecode][/link] ([inlinecode]ltr[/inlinecode] or [inlinecode]rtl[/inlinecode]) in the language files (you forgot until now to set the writign direction rtl in your arabic translation). And it would be an additional task for an author of a posting to set the value for a posting section (i.e. a paragraph) in a language with a different writing direction that it is the default in the specific forum. > > [link=https://caniuse.com/mdn-css_properties_text-align_flow_relative_values_start_and_end]The browser support is nearly at 100%.[/link] > > We aleady did most of the necessary work in the past (see [link=https://mylittleforum.net/forum/index.php?id=12148]this thread[/link]), where we also discussed the [inlinecode]start[/inlinecode] and [inlinecode]end[/inlinecode] values for [inlinecode]text-align[/inlinecode] (at the end of the thread). The latest posting provides the code for a RTL-button (and same way a LTR-button) beside the posting form. > > > Here is the (lang) file link: [link=https://www.raed.net/file?id=630287]Arabic-English for MyLittleForum عربي-إنجليزي لــ[/link] > > I upload it as a TEXT file > > > > I call it (Arabishعربيز)( > > Thank you for providing the translation for the interested audience. I am more interested in an arabic only translation. In my humble opinion, this would be more interesting for a larger audience. > > Tschö, Auge
E-mail notification on reply of this posting
OK - Submit
Preview