Thank you PMario, this is hugely appreciated.
As for manually selecting French, it can be automated as
tiddlywiki --load french.json
where french.json is
============
[{text:$:/languages/fr-FR,title:$:/language}]
============
There is no created field for this tiddler this way, though. I could forge
one if is was really necessary.
Le lundi 20 septembre 2021 à 16:12:55 UTC+2, PMario a écrit :
> After the server is started, you need to switch the language setting to
> French manually
> -m
>
> On Monday, September 20, 2021 at 4:11:16 PM UTC+2 PMario wrote:
>
>> On Sunday, September 19, 2021 at 2:40:17 PM UTC+2 [email protected]
>> wrote:
>>
>> Embarrassingly, I'm not sure I still grasp the whole thing anymore. The
>>> confusing thing is that the fr-FR server edition is not meant as an fr-FR
>>> localisation of the server edition (nor any xx-YY-server editions by the
>>> way). As far as I know, they are mostly useful when one wants to edit the
>>> source of their xx-XX edition counterpart *in-place* (typically in a
>>> dedicated git branch).
>>>
>>
>> That's right. It's there for users, who want to translate the content of
>> tiddlywiki.com to the French language.
>> fr-FR-server includes the fr-FR wiki content, which is the translated
>> content
>> fr-FR includes ../tw5.com as readOnly ... As I wrote. This
>> is for development only!
>>
>>
>>> With the help of
>>> https://tiddlywiki.com/prerelease/#tiddlywiki.info%20Files, it must be
>>> possible to combine these editions in order to create a NodeJS wiki that is
>>> bootstrapped with the payload tiddlers contained in these editions, but I
>>> didn't succeed to write down a straightforward description of the process.
>>> Maybe @pmario has a better understanding of these mechanisms?
>>>
>>
>> If you want to "spawn" a french server you have to do this:
>>
>> tiddlywiki myWiki --init server
>>
>> add this to your tiddlywiki.info file the was created in myWiki folder
>>
>> "languages": [
>> "fr-FR"
>> ],
>>
>> So the whole file will look like this:
>>
>> {
>> "description": "Basic client-server edition",
>> "plugins": [
>> "tiddlywiki/tiddlyweb",
>> "tiddlywiki/filesystem",
>> "tiddlywiki/highlight"
>> ],
>> "themes": [
>> "tiddlywiki/vanilla",
>> "tiddlywiki/snowwhite"
>> ],
>> "languages": [
>> "fr-FR"
>> ],
>> "build": {
>> "index": [
>>
>> "--rendertiddler","$:/plugins/tiddlywiki/tiddlyweb/save/offline","index.html","text/plain"
>> ],
>> "static": [
>>
>> "--rendertiddler","$:/core/templates/static.template.html","static.html","text/plain",
>>
>> "--rendertiddler","$:/core/templates/alltiddlers.template.html","alltiddlers.html","text/plain",
>>
>> "--rendertiddlers","[!is[system]]","$:/core/templates/static.tiddler.html","static","text/plain",
>>
>> "--rendertiddler","$:/core/templates/static.template.css","static/static.css","text/plain"
>> ]
>> }
>> }
>>
>> Start your server:
>>
>> tiddlywiki sWiki --listen
>>
>> -mario
>>
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/7905c830-1e44-402e-8433-27a2fff982ccn%40googlegroups.com.