[HOME] [DOWNLOAD] [DOCS] [BLOG] [SUPPORT] [TIPS] [ISSUES] [Priority Support]

Translations Technical Developer Discussion


#21

Yes, Issue 1 was resolved. It saves now.

Issue 2 was not, but since I know about tvar syntax now, it’s irrelevant. I will learn it and make new markup.


#22

I changed markup on Starting Page, it works like this:

With: Read the [[#Boot Options|Boot Options]] chapter and use the 486 kernel.
Without: Read the [[$A Boot Options]] chapter and use the 486 kernel.

With: If you still need help, please go to the [https://www.whonix.org/forum Whonix User Help Forum].
Without: If you still need help, please go to the [$A Whonix User Help Forum].

and this is the best we can do at the moment.

Edit: In case of it’s only possible to have ‘Whonix$A’ instead of ‘Whonix(URL)’. It will break or leap to the next word otherwise.

Edit2: Some links won’t cooperate, for example first breaks down, while second works fine.

[<tvar|A>https://webirc.oftc.net:8443/?channels=Whonix</> Webchat]
[<tvar|A>https://www.whonix.org/forum</> Whonix User Forum]


#23

Good find! Better than not using tvar.

Seems they are aware of the “translators tend to mess up wiki markup” issue already?


#24

They are aware surely, but what’s funny is that their own pages don’t hide markup in translations and some parts of the documentation is ‘in construction’.

It needs some heavy bug-fixing/upgrades or at least making it more user friendly.

Problems we have, seem to be a common ones, for example look at this page: https://www.boywiki.org/en/Links


#25

I just saw:
https://www.whonix.org/wiki/Main_Page/en-gb

Probably a translation to British English doesn’t make sense. Or am I missing something?

Also there are “two types of German” in the translate extension. The normal one “Deutsch” and “Deutsch (Sie Form)”. But the latter one also doesn’t make sense. We probably should use use “Deutsch” and somehow deactivate someone accidentally translations to “Deutsch (Sie Form)”. No one in German cares about this at that magnitude. Not even any native German websites have both translations.

Is it possible to deactivate the possibly to translate to any obsolete hypothetical languages?


#26

No, of course British English is redundant.

Couldn’t find anything in documentation, so I asked in Extension Talks, waiting for answers now.


#27

Okay, so in page translation there is Priority Languages field when we could list allowed languages and disable anything else. This would disable languages we don’t want be at the same time when adding new languages we would have to update the priority language list.

When it comes to deleting existing translations, administrator would have to delete forked page itself, e.g. …/MainPage/en-gb

Also:
Some syntax won’t work with tvar so in order to use it in such link

[[<tvar|A>Dev/Build</> Documentation]]

I will have to rewrite it like this:

[<tvar|A>https://www.whonix.org/wiki/Dev/Build_Documentation Dev/Build</> Documentation]

Are you okay with this?


#28

Okay, how do we do this? Needs some changes in LocalSettings.php or?

When it comes to deleting existing translations, administrator would have to delete forked page itself, e.g. .../MainPage/en-gb
Deleted.
Also: Some syntax won't work with tvar so in order to use it in such link

[[<tvar|A>Dev/Build</> Documentation]]

I will have to rewrite it like this:

[<tvar|A>https://www.whonix.org/wiki/Dev/Build_Documentation Dev/Build</> Documentation]

Are you okay with this?


So we couldn’t use [[internallink|description]] anymore?

Dunno… Good question…

What do you think?

Any other opinions?

Can you make an example please? Do it with https://www.whonix.org/wiki/Starting_Whonix ?


#29

External link style

behaves differently than internal link style

External links are opened in new tabs. Internal links replace the existing tab. Also look differently. External ones have a lock symbol if they go to https.


#30

No, this field shows up when page/version of the page is being marked for translation. You can see it here: (link will expire if someone marks the page)

https://www.whonix.org/w/index.php?title=Special:PageTranslation&target=Main+Page

No, it concerns only some links (or pages).
When you look up links in Main Page, for example [[<tvar|A>About|</> About]] it works fine, but [[<tvar|A>Dev/Build</> Documentation]] which you can find on Develop page won’t.
I discovered this when trying to translate it to Polish (you can see that link is broken).
In Zzztranslatetest is modifed, working version of this link - [<tvar|A>https://www.whonix.org/wiki/Dev/Build_Documentation Dev/Build</> Documentation]

Now here comes the best part. Those two links seem to be the same type, first is from Main Page, second from Develop. First works, second breaks (you can lookup the second in Zzztranslatetest copy of Develop)

[<tvar|A>https://www.whonix.org/blog</> Blog]
[<tvar|A>https://github.com/Whonix/Whonix/issues</> Development Tickets, Bugs, Feature Requests, Roadmap]

The cause of this is beyond my understanding, because everything works in Main Page. Any ideas?


#31
but [[Dev/Build Documentation]] which you can find on Develop page won't.
There is no such page "Dev/Build" or in other words there is no such page as https://www.whonix.org/wiki/Dev/Build

The link is https://www.whonix.org/wiki/Dev/Build_Documentation. So rather than Dev/Build it should use Dev/Build_Documentation.


#32

In doubt could you make on Zzztranslatetest two links next to each other? One that works and one that doesn’t work?


#33

Got another strange issue. Edited Zzztranslatetest. Made a new chapter.

https://www.whonix.org/wiki/Zzztranslatetest#ptest

Marked page for translation. But when I want to translate to “Deutsch”, it does not show that section. Any idea what I did wrong?


#34

You didn’t accept pending changes.

You can see example of those links at:
https://www.whonix.org/wiki/Zzztranslatetest/ruq

Compare it with markup. I made a pic so it’s more clear, from left markup, translation and rendering.


#35

Now accepted them. And now I am totally confused. When I want to translate to “Deutsch” now, it asks me to translate a much older version.


#36

This is another thing, I think Zzztranslatetest is broken.
I had the same thing, everytime I wanted to add something new, I needed to add new language. This is why there are so many.
Luckily it only occurs on this page. Maybe Fortasse could do something about, he created the page.


#37

If it’s just a heisenbug for the very page, then we’re lucky. I’d say let’s just wipe that page and try with a new test page?


#38

Sure thing, go ahead.


#39

Created:
https://www.whonix.org/wiki/Translatetest

The translations menu looks still messed up. Asking me to translate things that changed in a later version? Is this the bug again or am I doing something wrong?


#40

Can you give an example? I can’t find it, every language seems to give me the same thing to translate.

Edit: Develop is done. Moving along.