Jump to content

Template talk:IPAc-en

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Missing HTML class "IPA-label"

[edit]

I was just setting up some custom CSS to make translations and such easier to read when I noticed this template doesn't add the class "IPA-label" to the label it generates, unlike the other IPA templates. Is that intentional, or should it be added?

For example:

{{IPA|fr|fubaʁ}}

results in:

<span class="IPA-label IPA-label-small">French pronunciation:</span> ...

which, for reference, is rendered as:

French pronunciation: [fubaʁ]

While for this template:

{{IPAc-en|lang|f|u|b|a:r}}

results in:

<small>English: </small>...

rendered as:

English: /fubɑːr/

W.andrea (talk) 01:53, 17 March 2024 (UTC)[reply]

Template-protected edit request on 24 April 2024

[edit]

I talked about this above. Basically, this change is to bring the markup inline with Template:IPA.

In Module:IPAc-en, change

<small>%s</small>
+
<span class="IPA-label IPA-label-small">%s</span>

(Note: The template documentation doesn't need to be updated since it doesn't mention this behaviour.)

By the way, Template:IPA also has a small parameter that maybe this template should implement as well, but that's beside the point.

W.andrea (talk) 20:10, 24 April 2024 (UTC)[reply]

That alone won't be enough because without Module:IPA/styles.css IPA-label-small doesn't work.  Done. Nardog (talk) 20:35, 24 April 2024 (UTC)[reply]
Ideally this module should just call the IPA module instead of handling the label, audio, etc. on its own. Nardog (talk) 20:42, 24 April 2024 (UTC)[reply]

Edit request 20 September 2024

[edit]

Description of suggested change:

Hello, I suggest to update a tooltip:

Diff:

/ən/: 'on' in 'button'
+
/ən/: 'en' in 'even'

It seems highly unintuitive to apparently suggest the sound of the word "on" (and then a word some learners are liable to rhyme with "John") instead of something closer to the final sound. The suggested "even" seems as basic and neutral a word (though you may prefer hyphen, happen, heaven, alien...). 77.147.79.62 (talk) 16:34, 20 September 2024 (UTC)[reply]

 Not done for now: please establish a consensus for this alteration before using the {{Edit template-protected}} template. Nardog (talk) 18:57, 20 September 2024 (UTC)[reply]

"ei" is a diphthong, and "eː" is an elongated pure vowel

[edit]

The word face in most dialects of English is pronounced /feɪs/, while in Scottish English, it is often pronounced /feːs/. These sounds should not be grouped together. Grouping them would be similar to grouping 'bait' (/beɪt/) and 'beat' (/biːt/) together, which represent distinct vowel sounds. Zaurus (talk) 08:09, 17 October 2024 (UTC)[reply]

Grouping them would be similar to grouping 'bait' (/beɪt/) and 'beat' (/biːt/) together ... There would be some similarity to that if Scottish English had a separate /eɪ/ phoneme contrasting with /eː/, but that doesn't seem to be the case. This template is used only for diaphonemic transcriptions and // is indeed a monophthong in many varieties of English despite of what the symbol might suggest. The notation /eː/ belongs to a different system. – MwGamera (talk) 14:10, 17 October 2024 (UTC)[reply]
// is indeed a monophthong in many varieties of English ... Not according to the *Cambridge English Pronouncing Dictionary*[1] and the *IPA Handbook*[2], which list /eɪ/ as a diphthong in English. The monophthongal variant (/eː/) exists, but it's specific to certain dialects, like Scottish English or some Southern Hemisphere accents. --Zaurus (talk) 16:55, 17 October 2024 (UTC)[reply]
The transcription system this template outputs is diaphonemic. Please read Help:IPA/English. Nardog (talk) 04:55, 18 October 2024 (UTC)[reply]

References

  1. ^ Jones, Daniel. *Cambridge English Pronouncing Dictionary*. 18th edition. Cambridge University Press, 2011.
  2. ^ International Phonetic Association. *Handbook of the International Phonetic Association: A Guide to the Use of the International Phonetic Alphabet*. Cambridge University Press, 1999.

Pronunciation code "pron"

[edit]

The pronunciation code pron seems to be implemented to output a space, instead of "pronounced:", as I would have expected. Is this intentional?

I just removed it from the page Denisovan, where before it rendered like this:

( /dəˈniːsəvə/

From this:

({{IPAc-en|pron|d|ə|ˈ|n||s|ə|v|ə}}

W.andrea (talk) 14:33, 12 November 2024 (UTC)[reply]

As far as I can tell, looking at the template documentation, pron seems to be a feature of {{IPA}}, not {{IPAc-en}}.  Dr Greg  talk  21:55, 12 November 2024 (UTC)[reply]
Yeah, it's not mentioned in the {{IPAc-en}} documentation, but it still does something, which is strange. My best guess (not having looked at the code) is that Module:IPAc-en uses Module:IPA and there's some way that pron slips through. — W.andrea (talk) 22:03, 12 November 2024 (UTC)[reply]