Topic on Project:Village Pump

Summary last edited by Aaron Liu 11:41, 10 April 2024 7 months ago

Yes, due to improper conversion when the UI language differs from the language to convert to in certain cases such as Special:Permalink/5860177. Other reasons include the desire for translation units to be independent of each other.

Aaron Liu (talkcontribs)
Dinoguy1000 (talkcontribs)

The tracking category was added to Module:NoteTA, with only the comment "Add tracking category", by 122.100.88.89 (talk · contribs) on February 25, and the same IP then created the category a few minutes later, without comment.

@122.100.88.89: can you explain the reasoning for this unilateral and undiscussed (as far as I can see) deprecation?

Aaron Liu (talkcontribs)

Since this was unilateral, could I revert it? The IP seems knowledgeable, though.

Tacsipacsi (talkcontribs)

Please note that IPs cannot be pinged, so it’s unlikely that 122.100.88.89 will notice this topic.

Aaron Liu (talkcontribs)

I've put a talkback template on their talk page.

This post was hidden by Aaron Liu (history)
Aaron Liu (talkcontribs)

The IP seems to also have mass-edited translations to port them to LC zh. Should we nuke these?

Pppery (talkcontribs)

I think very few people other than you and the IP know about this well enough to have an informed opinion so.

36.227.75.178 (talkcontribs)

@Aaron Liu: It is because NoteTA would mess up translation memories, so to ensure the translation memory can provide correct results with proper language conversion, always specify the translation for different variants.

Aaron Liu (talkcontribs)

But isn't NoteTA the translation memory? I can see nowhere else with a translation memory.

Winston Sung (talkcontribs)

No. Translation memory is separated from the NoteTA template/module.

Translation memories is where the translation suggestions came from.

(the right part in the page translation UI)

Aaron Liu (talkcontribs)

Oh wait, the translation memory means the one on the right, doesn't it? Would it still be messed up if every page used NoteTA?

Edit: Thanks Winston for confirming the former. But does being messed up mean it displays improperly or wouldn't convert like the original page? In the latter case, would using NoteTA on these pages too solve that?

Winston Sung (talkcontribs)

Would it still be messed up if every page used NoteTA?

The problem would still exist:

  • NoteTA being place on one of the translation unit on a page, causing page-dependent NoteTA template transclusions showing up in different translation units' translation suggestions.
  • NoteTA cannot always placed in the first translation unit of a page due to different types of translation units (e.g., syntaxhighlight, template parameters like the Localized_link template).
  • Translators ignore the one-to-multi conversion and use the translation suggestion with broken language conversion result.
  • NoteTA template being used in templates causing duplicated page status indicator
Winston Sung (talkcontribs)

Also, every translation unit should be able to give correct language conversion result regardless of what the previous translation units were.

Winston Sung (talkcontribs)

Another reason is the broken syntax in cross-page-language transclusion.

Aaron Liu (talkcontribs)

I'm not sure why we would need to transclude a Chinese page onto a page of another language as long as the title of the page uses LC zh.

Winston Sung (talkcontribs)

See Main Page as an example.

Aaron Liu (talkcontribs)

Shouldn't the main page always be viewed in the user's language?

Winston Sung (talkcontribs)

The Main Page template /zh translation page has the page language code in 'zh'.

Aaron Liu (talkcontribs)

Sorry for dragging this out a bit, but could you clarify what the problem with the main page is?

Winston Sung (talkcontribs)

The Main Page has been migrated to LC zh, but here's a brief explaination:

Conversion-zh use UI-language-only detection and output respective variant contents.

If users view the template (usually by clicking the "other language" link) while there are inconsistency between the output language (UI language, the 'en' when not logged in would output 'zh-hans') and the variant language ('zh-Hant-TW' / 'zh-tw'), it will give out incorrect conversion results (e.g., '信息' vs. '資訊').

At this case, you can neither add NoteTA (as it will become many directly-exposed '-{H' tags) nor using native syntax (same reason).

Winston Sung (talkcontribs)
Winston Sung (talkcontribs)

Also, using the LC_zh template in the page display title translation units is meant to solve the Localized_link template problem.

Aaron Liu (talkcontribs)

Wasn't the problem with removing namespaces?

Winston Sung (talkcontribs)

Both the Main Page cross-language-page transclusion problem and the hide namespace problem.

This post was hidden by Aaron Liu (history)
122.100.88.89 (talkcontribs)

As you can see, most of them were to ensure all translation units having consistency, always giving correct conversion results independently (instead of relying on other translation units with NoteTA).