Loading...
 

Tikiwiki-devel (mailman list mirror)


Tiki Install language selection and direction

posts: 1581

Looks good to me :-)

https://sourceforge.net/p/tikiwiki/code/61318/


On 17.2.2017 11:34, Jonny Bradley wrote:
> Nooooooooo! :-)
>
> How about r61318 instead? ;)
>
> jb
>
>
>
>> On 17 Feb 2017, at 06:58, Bernard Sfez <me@bsfez.com> wrote:
>>
>> How to check if "$isRTL" is available on install ? (the good old Tiki debugger ?)
>>
>> Else I understand I have a green light for a on this.
>> "\{if $prefs.language eq 'he or ar or…'\}"
>>
>> Thanks
>> Bernard
>>
>>
>>> On 16 Feb 2017, at 14:38 , luciash <luci@tiki.org> wrote:
>>>
>>> $isRTL sounds good but if it is not available at the install time, just add the other (millions ;)) of RTL languages in the condition as or .. or .. or :-)
>>>
>>> luci
>>>
>>> On 16.2.2017 10:40, Bernard Sfez wrote:
>>>> Bump…
>>>>
>>>>
>>>>> On 6 Feb 2017, at 14:59 , Bernard Sfez <me@bsfez.com> wrote:
>>>>>
>>>>> Thanks Lu,
>>>>>

>>>>> I added : \{if $prefs.language eq 'he'}<link rel="stylesheet" href="vendor/morteza/bootstrap-rtl/dist/css/bootstrap-rtl.min.css" type="text/css" />{/if\}

>>>>>
>>>>> At : templates/tiki-install_screens.tpl line 4
>>>>> And it work, however this is not very elegant and will work only for hebrew and not all (the millions of) rtl languages. :-)
>>>>>
>>>>> 1/ I see we have a "$isRTL" and also "$prefs.feature_bidi" that could be a better condition but I couldn't figure how and if we can use it (Tiki is not set yet):
>>>>> Any better idea about the condition ?
>>>>>
>>>>> 2/ Is it the place to set it ?
>>>>>
>>>>> Bernard
>>>>>
>>>>>
>>>>>> On 6 Feb 2017, at 14:16 , luciash <luci@tiki.org> wrote:
>>>>>>
>>>>>> Make sure when the lang is changed that the

>>>>>> <link rel="stylesheet" href="vendor/morteza/bootstrap-rtl/dist/css/bootstrap-rtl.min.css" type="text/css" />

>>>>>>
>>>>>> is included in the HTML head.
>>>>>>
>>>>>> luci
>>>>>>
>>>>>>
>>>>>> On 5.2.2017 20:35, Bernard Sfez wrote:
>>>>>>> Hello,
>>>>>>>
>>>>>>> I've digging into the tiki-installer and multilingual (yeah hebrew :-D)
>>>>>>>
>>>>>>> When I use Tiki (bootstrapped) as soon as language "he" is detected the direction is set rightly for rtl.
>>>>>>> Not with tiki-install.php.
>>>>>>>
>>>>>>> I switch language at the start of the process, the html show the right language :
>>>>>>> <html id="installer" lang="he"> but the direction doesn't change and that's show a kind of broken pages (punctuaction, ( ) - / &, etc).
>>>>>>>
>>>>>>> As soon as I set in the body style=" direction: rtl" all goes nicely (but the left col menu that stay left, but may be that something else).
>>>>>>>
>>>>>>> Any expert with an idea to make tiki-install work like the rest of the Tiki ?
>>>>>>>
>>>>>>> Bernard Sfez | bsfez.com
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Check out the vibrant tech community on one of the world's most
>>>>>>> engaging tech sites,
>>>>>>> SlashDot.org! http://sdm.link/slashdot
>>>>>>>
>>>>>>>
>>>>>>> ___
>>>>>>> TikiWiki-devel mailing list
>>>>>>>
>>>>>>> TikiWiki-devel at lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>>>>>> ------------------------------------------------------------------------------
>>>>>> Check out the vibrant tech community on one of the world's most
>>>>>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot_
>>>>>> TikiWiki-devel mailing list
>>>>>> TikiWiki-devel at lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>>>>> Bernard Sfez | bsfez.com
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Check out the vibrant tech community on one of the world's most
>>>>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot_
>>>>> TikiWiki-devel mailing list
>>>>> TikiWiki-devel at lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>>>> Bernard Sfez | bsfez.com
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Check out the vibrant tech community on one of the world's most
>>>> engaging tech sites,
>>>> SlashDot.org! http://sdm.link/slashdot
>>>>
>>>>
>>>> ___
>>>> TikiWiki-devel mailing list
>>>>
>>>> TikiWiki-devel at lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>>> ------------------------------------------------------------------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot_
>>> TikiWiki-devel mailing list
>>> TikiWiki-devel at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>> Bernard Sfez | bsfez.com
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot_
>> TikiWiki-devel mailing list
>> TikiWiki-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> ___
> TikiWiki-devel mailing list
> TikiWiki-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
TikiWiki-devel mailing list
TikiWiki-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

Why Register?

Register at tiki.org and you'll be able to use it at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.