[TW5] How to support multiple languages in my plugin?

51 views
Skip to first unread message

LinOnetwo

unread,
May 2, 2019, 3:16:49 AM5/2/19
to tiddly...@googlegroups.com
How can
\define lingo-base() $:/language/ControlPanel/Saving/SoLiD/Config
automatically change based on current language selected by user?

SylvainComte

unread,
May 3, 2019, 3:06:27 AM5/3/19
to TiddlyWikiDev
Hi,

You may use my <<i18n>> macro ;-) (work in progress)

http://sycom.gitlab.io/TiddlyWiki-Plugins/#i18n%20macro

Cheers

Sylvain
@sycom

Jeremy Ruston

unread,
May 3, 2019, 4:37:25 AM5/3/19
to TiddlyWikiDev
Hi LinOneTwo

The core language mechanism doesn’t work for plugins, so you will indeed have to use something like Sylvain’s macros.

Hopefully we’ll add something similar to the core in due course.

Best wishes

Jeremy.
> --
> You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikide...@googlegroups.com.
> To post to this group, send email to tiddly...@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywikidev.
> To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/363e0fb7-1bd7-49e3-ad7f-90c6cf150fa4%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages