So for example I would like to change the order of how language buttons are presented to the user from English - Chinese - French to Chinese - French - English.
I am assuming it is located in: zope.interface.interface-plone.app.i18n.locales.languageselector which is inside portal_view_customizations/registrations.html.
More specifically I am assuming it has to do with this piece of script:
> <tal:nonflag condition="python:not showFlags or not flag" replace="name">
> language name
> </tal:nonflag>
However I still do not know how or what am I supposed to write in order to control the language order on screen.
Any help would be appreciated.
So I found a solution that works!
In order to rearrange the order of languages on your website that uses Plone CMS you need to follow these steps:
<tal:language repeat="i python:[2,0,1]">before the<li>tag, where [2,0,1] represents my chosen order. If you were to have a bigger list of languages then of course it would have been something like [0,1,2,3,4...e.t.c] which you can rearrange however you want.Thank you @Ulrich Schwarz even though I couldn't make it work using your suggestions. I am sure it is possible to do via numerous ways including the ones you suggested.