Template talk:th-usex

From Wiktionary, the free dictionary
Latest comment: 3 years ago by RichardW57 in topic European Digits
Jump to navigation Jump to search

Forced spaces and suppressing links[edit]

@Wyang, Iudexvivorum

How do I convert the usage examples in เชิญ (chəən) to use this template:

[Changed embolding from triple apostrophes to HTML because the template was messing formatting up for rest of page. --RichardW57 (talk) 09:56, 23 May 2020 (UTC)]Reply

: เอานี่นะ : เชิญ

gɔɔ: · ao nîi ná · kɔ̌ɔ: · chəən ‎
A: Can I have this? B: Yes.

: กินได้ป่ะ : เชิญ‎‎

gɔɔ: · gin dâai bpà · kɔ̌ɔ: · chəən ‎‎
A: Can I eat this? B: Okay

I think "ก:" needs a space after it and may need delinking with the symbol @ (@ก:) as with other languages? --Anatoli T. (обсудить/вклад) 07:08, 22 February 2016 (UTC)Reply

I've added an extra space but there are odd & symbols there. --Anatoli T. (обсудить/вклад) 07:10, 22 February 2016 (UTC)Reply
Hi Anatoli. Sorry for the delay. I made the weird symbol disappear. Will the delinking be necessary? At the moment linking to all Thai-script terms is done, with the rationale that readers may find them exotic... Wyang (talk) 06:10, 27 February 2016 (UTC)Reply
@Wyang Thanks very much, Frank! There may be cases when there are names that won't pass CFI or not includable otherwise. I can't answer your question regarding ฯ + spaces, unfortunately (on my talk page). --Anatoli T. (обсудить/вклад) 06:24, 27 February 2016 (UTC)Reply

กินี-บิสเซา[edit]

@Wyang, Octahedron80 Hi. The term contains a hyphen, can something be done to improved display in

ประเทศกินี-บิสเซา

bprà-têet gì-nii-bís-sao
Guinea-Bissau (country)

?

Currently red-linked and the hyphen is suppressed (which is required in other cases). --Anatoli T. (обсудить/вклад) 09:00, 23 April 2017 (UTC)Reply

Fixed. (There may be other entries undesirably affected by the edit- we will see.) Wyang (talk) 09:18, 23 April 2017 (UTC)Reply

Repetition marker[edit]

@Wyang

Hello! Could you please enable this template to have a space before (and, when needed, another space after) the repetition marker without "," in the transliteration?

See the usage notes of this marker for further information.

At present, if you add one space before/after the marker, the template will show no space before/after it. But if you add one more space, a space will be shown and "," will also appear in the transliteration.

For example

Thanks in advance! --หมวดซาโต้ (talk) 13:08, 1 May 2017 (UTC)Reply

Hi @หมวดซาโต้. I think it is fixed - using the "one space before/after" style. A space is inserted before it if the repetition marker is not preceded by a space, and a space is inserted after unless it is followed by a full stop or comma. Please review. :) Wyang (talk) 13:54, 1 May 2017 (UTC)Reply
Thank you once again! I'm very grateful, and I'm sure other Thai users will be too! --หมวดซาโต้ (talk) 14:07, 1 May 2017 (UTC)Reply

European Digits[edit]

@Wyang, Octahedron80: The template cannot handle words with European digits (possibly other characters outside the Thai block as well) with associated pronunciations, e.g.

1{สิบ} โควิด-19

I found the problem when correcting the misquotation for โควิด-๑๙. The transcription is now stuck with some unwanted spaces, and I am not happy with transcribing '14' and '19' as '14' and '19'. We may have problems with the second number, as in this word I think I've also been hearing it as 'nai-tiin', or even the un-Thai 'nain-tiin'. Some of the issues may be down to the transliteration module. --RichardW57 (talk) 09:43, 23 May 2020 (UTC)Reply

Solution was to add European digits to the set of characters allowed in Thai words in one of the filterings of variable example in function export.usex(). --RichardW57 (talk) 01:13, 24 May 2020 (UTC)Reply
I've spotted a new problemet. For the links to pages, we ought to specify the language. The Thai word isn't always the first entry on the page, e.g. 555 (555). But note that we may also have translingual items, such as 1{สิบ}, and there does not seem to be an easy way of tagging them as translingual. --RichardW57 (talk) 01:13, 24 May 2020 (UTC)Reply