source/content/phonology_and_orthography.html.php
9b21fc2c
 <?php
d42abfa2
 	global $configuration;
 	include_once("source/logic/server/data.php");
18080c63
 	include_once("source/logic/server/table.php");
 	include_once("source/logic/server/misc.php");
9b21fc2c
  ?>
579dbe00
 <section class="section" id="phonology_and_orthography">
9b21fc2c
 	<header>Phonology and Orthography</header>
 	<!--
 	<p>Folksprak uses the following characters as letters:</pa>
 	  -->
18080c63
 	<!--
 	<div class="note_information">It was not easy to find a phonology system for Folksprak.</div>
 	  -->
9b21fc2c
 <?php
18080c63
 	$table = new class_table
 	(
 		[
 			new class_column
 			(
 				"IPA-sound",
459c0868
 				"ipa",
18080c63
 				function ($value)
 				{
77d8eec6
 					return format($value);
18080c63
 				}
 			),
 			/*
 			new class_column
 			(
 				"Type",
459c0868
 				"type"];
18080c63
 				}
 			),
 			 */
 			new class_column
 			(
 				"Latin letter Representation",
459c0868
 				"latin",
18080c63
 				function ($value)
 				{
f662d51c
 					return format($value, ["letter", "lang_flk"]);
18080c63
 				}
 			),
 			new class_column
 			(
 				"Runic Representation",
459c0868
 				"runic",
18080c63
 				function ($value)
 				{
f662d51c
 					return format($value, ["letter", "lang_flk", "runic"]);
18080c63
 				}
 			),
 			new class_column
 			(
270847a5
 				$configuration["languagemap"]["flk"] . " Example",
459c0868
 				"examples",
18080c63
 				function ($value)
 				{
f662d51c
 					return format($value["flk"], ["word", "lang_flk"]);
18080c63
 				}
 			),
 			new class_column
 			(
 				$configuration["languagemap"][$configuration["target"]] . " Example",
459c0868
 				"examples",
18080c63
 				function ($value) use (&$configuration)
 				{
459c0868
 					return format($value[$configuration["target"]], ["word", "lang_" . $configuration["target"]]);
18080c63
 				}
 			),
dcda8f59
 			/*
18080c63
 			new class_column
 			(
 				"Remark",
459c0868
 				"remark",
18080c63
 				function ($value)
 				{
 					return format($value);
 				}
 			),
dcda8f59
 			 */
18080c63
 		],
 		read_json("source/data/phonology_and_orthography.json")
 	);
 	$table->generate();
9b21fc2c
  ?>
5da1fdb3
  	<div class="note note_information">
 		<span class="note_content">
f662d51c
 	 		<p>It is permitted to pronounce the sounds a little differently, for example <?php echo(mark("v", ["type_letter", "lang_flk"])); ?> as <span class="ipa">ʋ</span> or <?php echo(mark("s", ["type_letter", "lang_flk"])); ?> as <span class="ipa">z</span>, whilst the sounds from the table above are the default.</p>
5da1fdb3
 		</span>
  	</div>
 	<div class="note note_warning">
 		<span class="note_content">
 			<p>The runic writing is not meant to be used in regular texts. Use it only for purposes like art, etc.!</p>
 		</span>
 	</div>
 	<div class="note note_reasoning">
 		<input type="checkbox" class="note_hide" title="click to show/hide" id="note_00"/>
 		<label class="note_label note_label_show" for="note_00">show</label>
 		<label class="note_label note_label_hide" for="note_00">hide</label>
 		<span class="note_content">
8794e319
 			<p>We have discussed many times whether to include a <span class="ipa">x</span>-like sound. On one hand, without it, some words were not easy to derive (e.g. the Proto Germanic <?php echo(mark("nahts", ["type_word", "lang_pg"])); ?> (English: <?php echo(mark("night", ["type_word", "lang_en"])); ?>)). On the other hand we found that the sound is very disconcerting to those, who don't have it in the phonology of their mother tongue. Eventually we have decided to exclude it from the draft, since it seemed to be too much of a trouble maker; finding words was not that much of an issue in the end.</p>
5da1fdb3
 		</span>
 	</div>
 	<div class="note note_reasoning">
 		<input type="checkbox" class="note_hide" title="click to show/hide" id="note_01"/>
 		<label class="note_label note_label_show" for="note_01">show</label>
 		<label class="note_label note_label_hide" for="note_01">hide</label>
 		<span class="note_content">
f662d51c
 			<p>The letters <?php echo(mark("ö", ["type_letter", "lang_flk"])); ?> and <?php echo(mark("ü", ["type_letter", "lang_flk"])); ?> were not included inconsiderately. Effectively every Germanic language has an <span class="ipa">ø</span>-like sound in its phonology, but the main reason for the inclusion of these sounds was that altering the vowels of affected words to "near" vowels (e.g. <span class="ipa">i</span> &larr; <span class="ipa">y</span> &rarr; <span class="ipa">u</span>) most of the times resulted in disconcerting and unsatisfying creations. However the modern Germanic languages often feature vowel shifts throughout their natural evolution; some switching to the one and some switching to the other. Therefore we felt it was more convenient to have these sounds as compromises and connectors between the languages.</p>
 			<p>We also struggled to find proper written representations of these sounds. One possibility was to use the IPA-like symbols <?php echo(mark("ø", ["type_letter", "lang_flk"])); ?> and <?php echo(mark("y", ["type_letter", "lang_flk"])); ?>, like e.g. Norwegian does. Unfortunatelly this had taken away the possibility to have the alternative writings <?php echo(mark("oy", ["type_letter", "lang_flk"])); ?> and <?php echo(mark("uy", ["type_letter", "lang_flk"])); ?>, which we considered important, since not everybody can easily type non-standard Latin letters. So we arranged to use diaeresis, like German and Swedish does.</p>
5da1fdb3
 		</span>
 	</div>
9b21fc2c
 </section>