All right. So i18n can support whatever domain I configure it to, but then 
that brings me back to my original question. What would be the most 
appropriate domain to use.

*$:/plugins/vendor_name/plugin_name/...*

or

*$:/language/vendor_name/plugin_name/...*

Convention suggests the first, but the second makes more sense if you 
consider that plugin translations would be separate from the plugins, and 
it seems like it may be more appropriate for a final solution.

-Flibbles

On Tuesday, May 14, 2019 at 10:49:40 AM UTC-4, SylvainComte wrote:
>
> Just to be complete about this, see usage for Feather Icons Plugin 
> <http://sycom.gitlab.io/TiddlyWiki-Plugins/#Feather%20icons%20plugin>, 
> i18n tiddlers are
>
>    - ...
>    - $:/plugins/sycom/feather-icons/i18n/en-GB
>    - $:/plugins/sycom/feather-icons/i18n/en-GB/macrosIntro
>    - $:/plugins/sycom/feather-icons/i18n/en-GB/readme
>    - $:/plugins/sycom/feather-icons/i18n/en-GB/usage
>    - $:/plugins/sycom/feather-icons/i18n/fr-FR
>    - $:/plugins/sycom/feather-icons/i18n/fr-FR/macrosIntro
>    - $:/plugins/sycom/feather-icons/i18n/fr-FR/readme
>    - $:/plugins/sycom/feather-icons/i18n/fr-FR/usage
>    - ...
>
> cheers
>
> Sylvain
> @sycom
>
> Le mardi 14 mai 2019 11:00:44 UTC+2, SylvainComte a écrit :
>>
>> Hello,
>>
>> The behaviour is somewhat different with the domain parameter : your 
>> translations will be in 
>>
>> domain/i18n/lg-LG
>>
>> Default value is $:/ but it's up to you and might be 
>> $:/plugins/plugin_vendor/plugin_name and your translations will be in
>>
>> $:/plugins/plugin_vendor/plugin_name/i18n/lg-LG
>>
>> So it seems there's no conflict with your philosophy. But I guess 
>> documentation should be more explicit.
>>
>> Cheers
>>
>> Sylvain
>> @sycom
>>
>>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/d78b838d-8594-442e-b5bc-d42b7259f884%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to