Open main menu
Home
Random
Donate
Recent changes
Special pages
Community portal
Preferences
About Stockhub
Disclaimers
Search
User menu
Talk
Contributions
Create account
Log in
Editing
Module:ISO 639 name/doc
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==iso_639_name_to_code== Returns ISO 639 language code associated with <code><{{var|language name}}></code>. May return an error message with or without a language name. This function may not be particularly useful because, except for case, <code><{{var|language name}}></code> must exactly match the name in the data tables. Optional parameters: :<code><{{var|part}}></code> (second positional parameter) β limits return to codes from the specified <code><{{var|part}}></code> (<code>1</code>, <code>2</code>, <code>3</code>, <code>5</code>), override table first then the appropriate data table; when not supplied, this function searches in order part 1 to part 5. The search stops when a match is found. :{{para|hide-err|yes}}: suppresses error messages Examples: :without <code><{{var|part}}></code>, with ISO 639-5 name: ::<code><nowiki>{{#invoke:ISO 639 name|iso_639_name_to_code|North Germanic languages}}</nowiki></code> β {{#invoke:ISO 639 name|iso_639_name_to_code|North Germanic languages}} :with <code><{{var|part}}></code>: ::<code><nowiki>{{#invoke:ISO 639 name|iso_639_name_to_code|Navajo|2}}</nowiki></code> β {{#invoke:ISO 639 name|iso_639_name_to_code|Navajo|2}}
Summary:
Please note that all contributions to Stockhub may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Stockhub:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)