Plugin Localization

164 views
Skip to first unread message

Myeongjin Lee

unread,
Apr 24, 2016, 12:21:32 AM4/24/16
to TiddlyWiki
I made localization for plugins. What is plugin-type named of it?

Jeremy Ruston

unread,
Apr 24, 2016, 7:00:50 AM4/24/16
to tiddl...@googlegroups.com
Hi Myeongjin

I made localization for plugins.

Wow! Congratulations, this must be the most ambitious pull request I’ve ever received for TiddlyWiki.

Just to explain what’s going on, this pull request introduces a mechanism by which plugins can be localised into different languages, along the same lines that we use for the core. It also includes updates to all of the core plugins to make them use this new mechanism, and includes  English and Korean translations to get things started.

Introducing a new mechanism into TiddlyWiki is quite intricate, demanding work because of the need to understand how it fits in with all the existing mechanisms. The localisation modifications to the plugins, on the other hand, are pure slog: not so intellectually demanding, but still intricate and error prone. 

What is plugin-type named of it?

I’d like to spend a bit more time looking through the code. I’d like to defer merging this until after 5.1.12 has been released so that we can spend a little time getting the user experience right.


Please go ahead and create a pull request for these changes.

Many thanks,

Jeremy






--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/3e41bb26-38b7-45e4-b9aa-44c59e21e8ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Myeongjin Lee

unread,
Apr 27, 2016, 8:10:45 AM4/27/16
to TiddlyWiki
Where is localization for vanilla place in, core or plugin?

Jeremy Ruston

unread,
Apr 27, 2016, 9:18:34 AM4/27/16
to tiddl...@googlegroups.com
Hi Myeongjin

Where is localization for vanilla place in, core or plugin?

At the moment, of course, none of the official plugins are localisable, and a translation plugin is only expected to contain translations for the core strings.

I think that the easiest arrangement for users would be to make two changes:

1) To make it possible a language plugin to include translations of plugin(s) as well as the core strings
2) To make it possible to have multiple language plugins active at once: instead of switching between plugin libraries, we'd switch between languages, and use all the available plugins that target the current language

With that arrangement, we could ship a single fr-FR plugin that contains translations for the core and all the official plugins. Third party developers would be able to ship their own supplemental fr-FR plugin containing the translations for their own plugins. So, eventually, there might be a `languages/TiddlyTools/fr-FR` plugin.

Best wishes

Jeremy

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
Message has been deleted

Myeongjin Lee

unread,
May 11, 2016, 12:09:51 PM5/11/16
to tiddl...@googlegroups.com
Hi Jeremy,

I want set directory to two ways for language plugins of plugins, include group tiddlywiki because some user may be not use plugin(s):


  • $:/languages/plugins/group/plugin/ko-KR/plugin.i18n.multids, and plugin.info, which commited by me in branch 'plugin-localisable'.
  • $:/languages/plugins/group/ko-KR/plugin.info, and $:/languages/plugins/group/ko-KR/plugin/ plugin.i18n.multids

Jeremy Ruston

unread,
May 11, 2016, 12:53:44 PM5/11/16
to tiddl...@googlegroups.com
Hi Myeongjin

Thanks for your hard work on this. I’ve looked through the changes:

https://github.com/Jermolene/TiddlyWiki5/compare/master...araname:plugin-localisable

Looks good to me. As it’s a big change I think we should defer it until after 5.1.12 is released; what do you think?

Best wishes

Jeremy


> On 11 May 2016, at 10:09, Myeongjin Lee <aran...@gmail.com> wrote:
>
> Hi Jeremy,
>
> I want set directory to two ways for language plugins of plugins, include group tiddlywiki because some user may be not use plugin(s):
>
> <ul><li>$:/languages/plugins/group/plugin/ko-KR/plugin.i18n.multids, and plugin.info, which commited by me in branch 'plugin-localisable'.</li><li>$:/languages/plugins/group/ko-KR/plugin.info, and $:/languages/plugins/group/ko-KR/plugin/ plugin.i18n.multids</li></ul>
>
> --
> You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
> To post to this group, send email to tiddl...@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/baf6443e-6dbb-4df2-97df-61c8e9a60e3e%40googlegroups.com.

Myeongjin Lee

unread,
May 11, 2016, 11:51:46 PM5/11/16
to tiddl...@googlegroups.com
As it’s a big change I think we should defer it until after 5.1.12 is released; what do you think?
Me, too.
Reply all
Reply to author
Forward
0 new messages