![]() |
This is a Wiktionary policy, guideline or common practices page. This is a draft proposal. It is unofficial, and it is unknown whether it is widely accepted by Wiktionary editors. |
Policies – Entries: CFI - EL - NORM - NPOV - QUOTE - REDIR - DELETE. Languages: LT - AXX. Others: BLOCK - BOTS - VOTES. |
This page describes details guidelines around integrating audio files into Wiktionary.
The template {{audio}}
links to an audio file for quick listening. It is meant to be used inline with text, for pronunciations and the like. To apply it in an article use the following:
{{Audio|<name of sound file>|<text to use as link to soundfile>|lang=<language code>}}
For instance, {{audio|En-us-Bhojpuri.ogg|Bhojpuri|lang=en}}
is rendered to something like this:
Bhojpuri: | (file) |
The region codes in audio file names (i.e. -us- and -uk-) are optional . It depends on what you've done with the file. If the pronunciations are significantly different, then it would be prudent to put -us- or -uk- in the name of the file when you upload it.
If you have a microphone and a copy of Audacity or any other free ".ogg" recording software, please consider uploading your pronunciation to Commons. Note that the default installation of Audacity has the input volume set to about 20%. Most contributors here have had to change that to 100% to get useful recordings. See Wikipedia for other helpful software options.
Filenames should be the ISO 639 language code (see Wiktionary:Wikimedia language codes), a hyphen, a region code (e.g. "us", "uk", or "au"), another hyphen, the word being pronounced, and ".ogg" as the extension. For example, the file for the US pronunciation of schedule would be "en-us-schedule.ogg", and for the UK "en-uk-schedule.ogg". For heteronyms (homographs with different pronunciations), e.g. lead (be the leader of a group) vs. lead (the metal), we usually tack on the part of speech, for example "en-lead-noun.ogg".
When uploading to Commons, remember to add ]
or ]
(or whatever country) to the file description. Once the file is uploaded on Commons satisfactorily, the Wiktionary word should have a link added to it by removing {{rfap}}
and adding in {{audio|en-us-Audio.ogg|Audio (US)}}
Replace "us" and "US" with the appropriate region. Please preview before saving!
Thanks for helping!