Prefs Framework / User Interface Options - Quick Multilingual Demo, Including right-to-left script
Harnum, Alan
aharnum at ocadu.ca
Tue Sep 19 13:58:43 UTC 2017
If it makes sense that this end up a demo or example in Infusion (I agree it does), we should consider whether it makes sense for some functionality to be in the core of UIO / Preferences Framework, or in Infusion itself, that is currently expressed in the demo.
I'd specifically point to what is done in this component to apply appropriate multilingual attributes (language and text direction) to component markup: https://github.com/waharnum/uio-multilingual/blob/master/demos/src/js/UIOMultilingualDemo.js – along with the use of the message bundles (which I think have some issues in the documentation), I found this to be the most important addition for allowing styling overrides based on text direction and language.
I've created two JIRAs based on this work:
- https://issues.fluidproject.org/browse/FLUID-6197 (on documentation issues I encountered)
- https://issues.fluidproject.org/browse/FLUID-6198 (on migrating this to the examples)
I think the planning meeting today will be a good opportunity to discuss taking this work further.
From: Justin Obara <obara.justin at gmail.com<mailto:obara.justin at gmail.com>>
Date: Monday, September 18, 2017 at 12:07 PM
To: Alan Harnum <aharnum at ocadu.ca<mailto:aharnum at ocadu.ca>>
Cc: Fluid Work <fluid-work at fluidproject.org<mailto:fluid-work at fluidproject.org>>
Subject: Re: Prefs Framework / User Interface Options - Quick Multilingual Demo, Including right-to-left script
Thanks Alan, Sepideh and Gregor,
This is looking really good. It would be great to have this as a demo or example in infusion.
Thanks
Justin
On September 15, 2017 at 5:01:26 PM, Harnum, Alan (aharnum at ocadu.ca<mailto:aharnum at ocadu.ca>) wrote:
Hi all,
Some late Friday afternoon work brought on by a conversation with Sepideh (who did the Farsi translations) that may be of interest: http://rawgit.com/waharnum/uio-multilingual/master/demos/index.html
Original conversation: https://botbot.me/freenode/fluid-design/2017-09-15/?msg=91155778&page=1
Repo: https://github.com/waharnum/uio-multilingual
I put some notes in the repo’s README while they were hot in my head.
We get asked about translations of UIO (usually to French) not infrequently and the documentation on how to localize is a bit sparse, so I thought a working demo would be useful both generally and for some of the upcoming Social Justice Repair Kit work.
Hopefully of interest to some!
Alan
_______________________________________________________
fluid-work mailing list - fluid-work at lists.inclusivedesign.ca<mailto:fluid-work at lists.inclusivedesign.ca>
To unsubscribe, change settings or access archives,
see https://lists.inclusivedesign.ca/mailman/listinfo/fluid-work
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.idrc.ocad.ca/pipermail/fluid-work/attachments/20170919/521e5698/attachment.htm>
More information about the fluid-work
mailing list