Sylvain
author: OleghBondarenko
core-version: >=5.0.0
description: Ukrainian (Ukrainian)
name: uk-UA
plugin-type: language
title: $:/languages/uk-UA
type: application/json
{"tiddlers": {}}
title: $:/languages/uk-UA/icon
type: image/svg+xml
<svg xmlns="http://www.w3.org/2000/svg" height="480" width="640" viewBox="0 0 640 480">
<g fill-rule="evenodd" stroke-width="1pt">
<path fill="#ffd500" d="M0 0h640v480H0z"/>
<path fill="#005bbb" d="M0 0h640v240H0z"/>
</g>
</svg>
Hi Olegh,
--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/ATHJzp0SitM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/e1dc7793-028d-48d6-b768-e81010e3c40e%40googlegroups.com.
I can help you for one :Your fake language plugin is almost good. The flag icon has to be embedded in the language plugin ($:/languages/uk-UA)replace{"tiddlers": {}}with{"tiddlers": {
"$:/languages/uk-UA/icon":{
"text": "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"480\" width=\"640\" viewBox=\"0 0 640 480\">\n <g fill-rule=\"evenodd\" stroke-width=\"1pt\">\n <path fill=\"#ffd500\" d=\"M0 0h640v480H0z\"/>\n <path fill=\"#005bbb\" d=\"M0 0h640v240H0z\"/>\n </g>\n</svg>",
"title": "$:/languages/uk-UA/icon",
"type": "image/svg+xml"
}
}}For the second (title translations), a workaround could be modifying tiddler template ($:/core/ui/ViewTemplate/title) to display a lg-LG_title field (if exists through a $view widget) instead of <$view field="title" />. You will also have to put a macro to call the good field based upon $:/Language tiddler... But, as I told you before, no solution is simple for this. I'll take a look, but not immediately...cheers
To unsubscribe from this group and all its topics, send an email to tiddl...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f1f8f868-5881-45ac-91be-85d31a180d68%40googlegroups.com.