Browse code

fs -> flk

Christian Fraß authored on27/07/2017 00:19:14
Showing1 changed files
... ...
@@ -39,7 +39,7 @@
39 39
 				"latin",
40 40
 				function ($value)
41 41
 				{
42
-					return format($value, ["letter", "lang_fs"]);
42
+					return format($value, ["letter", "lang_flk"]);
43 43
 				}
44 44
 			),
45 45
 			new class_column
... ...
@@ -48,7 +48,7 @@
48 48
 				"runic",
49 49
 				function ($value)
50 50
 				{
51
-					return format($value, ["letter", "lang_fs", "runic"]);
51
+					return format($value, ["letter", "lang_flk", "runic"]);
52 52
 				}
53 53
 			),
54 54
 			new class_column
... ...
@@ -57,7 +57,7 @@
57 57
 				"examples",
58 58
 				function ($value)
59 59
 				{
60
-					return format($value["flk"], ["word", "lang_fs"]);
60
+					return format($value["flk"], ["word", "lang_flk"]);
61 61
 				}
62 62
 			),
63 63
 			new class_column
... ...
@@ -87,7 +87,7 @@
87 87
  ?>
88 88
  	<div class="note note_information">
89 89
 		<span class="note_content">
90
-	 		<p>It is permitted to pronounce the sounds a little differently, for example <?php echo(mark("v", ["type_letter", "lang_fs"])); ?> as <span class="ipa">ʋ</span> or <?php echo(mark("s", ["type_letter", "lang_fs"])); ?> as <span class="ipa">z</span>, whilst the sounds from the table above are the default.</p>
90
+	 		<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>
91 91
 		</span>
92 92
  	</div>
93 93
 	<div class="note note_warning">
... ...
@@ -108,8 +108,8 @@
108 108
 		<label class="note_label note_label_show" for="note_01">show</label>
109 109
 		<label class="note_label note_label_hide" for="note_01">hide</label>
110 110
 		<span class="note_content">
111
-			<p>The letters <?php echo(mark("ö", ["type_letter", "lang_fs"])); ?> and <?php echo(mark("ü", ["type_letter", "lang_fs"])); ?> 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>
112
-			<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_fs"])); ?> and <?php echo(mark("y", ["type_letter", "lang_fs"])); ?>, like e.g. Norwegian does. Unfortunatelly this had taken away the possibility to have the alternative writings <?php echo(mark("oy", ["type_letter", "lang_fs"])); ?> and <?php echo(mark("uy", ["type_letter", "lang_fs"])); ?>, 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>
111
+			<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>
112
+			<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>
113 113
 		</span>
114 114
 	</div>
115 115
 </section>
Browse code

update

Christian Fraß authored on17/04/2017 03:54:52
Showing1 changed files
... ...
@@ -53,11 +53,11 @@
53 53
 			),
54 54
 			new class_column
55 55
 			(
56
-				$configuration["languagemap"]["fs"] . " Example",
56
+				$configuration["languagemap"]["flk"] . " Example",
57 57
 				"examples",
58 58
 				function ($value)
59 59
 				{
60
-					return format($value["fs"], ["word", "lang_fs"]);
60
+					return format($value["flk"], ["word", "lang_fs"]);
61 61
 				}
62 62
 			),
63 63
 			new class_column
Browse code

added transition-data and table

Christian Fraß authored on27/11/2016 17:30:26
Showing1 changed files
... ...
@@ -87,7 +87,7 @@
87 87
  ?>
88 88
  	<div class="note note_information">
89 89
 		<span class="note_content">
90
-	 		<p>It is permitted to pronounce the sounds a little differently, for example <span class="letter lang_fs">v</span> as <span class="ipa">ʋ</span> or <span class="letter lang_fs">s</span> as <span class="ipa">z</span>, whilst the sounds from the table above are the default.</p>
90
+	 		<p>It is permitted to pronounce the sounds a little differently, for example <?php echo(mark("v", ["type_letter", "lang_fs"])); ?> as <span class="ipa">ʋ</span> or <?php echo(mark("s", ["type_letter", "lang_fs"])); ?> as <span class="ipa">z</span>, whilst the sounds from the table above are the default.</p>
91 91
 		</span>
92 92
  	</div>
93 93
 	<div class="note note_warning">
... ...
@@ -100,7 +100,7 @@
100 100
 		<label class="note_label note_label_show" for="note_00">show</label>
101 101
 		<label class="note_label note_label_hide" for="note_00">hide</label>
102 102
 		<span class="note_content">
103
-			<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 <span class="word lang_pg">nahts</span> (English: <span class="word lang_en">night</span>)). On the other hand we found that the sound is very disconcerting to those, who don't have it 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>
103
+			<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>
104 104
 		</span>
105 105
 	</div>
106 106
 	<div class="note note_reasoning">
... ...
@@ -108,8 +108,8 @@
108 108
 		<label class="note_label note_label_show" for="note_01">show</label>
109 109
 		<label class="note_label note_label_hide" for="note_01">hide</label>
110 110
 		<span class="note_content">
111
-			<p>The letters <span class="letter lang_fs">ö</span> and <span class="letter lang_fs">ü</span> were not included inconsiderately. Factually 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 is was more convenient to have these sounds as compromises and connectors between the languages.</p>
112
-			<p>We also struggled to find proper written representations fo these sounds. One possibility was to use the IPA-like symbols <span class="letter lang_fs">ø</span> and <span class="letter lang_fs">y</span>, like e.g. Norwegian does. Unfortunatelly this had taken away the possibility to have the alternative writings <span class="letter lang_fs">oy</span> and <span class="letter lang_fs">uy</span>, 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>
111
+			<p>The letters <?php echo(mark("ö", ["type_letter", "lang_fs"])); ?> and <?php echo(mark("ü", ["type_letter", "lang_fs"])); ?> 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>
112
+			<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_fs"])); ?> and <?php echo(mark("y", ["type_letter", "lang_fs"])); ?>, like e.g. Norwegian does. Unfortunatelly this had taken away the possibility to have the alternative writings <?php echo(mark("oy", ["type_letter", "lang_fs"])); ?> and <?php echo(mark("uy", ["type_letter", "lang_fs"])); ?>, 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>
113 113
 		</span>
114 114
 	</div>
115 115
 </section>
Browse code

included developer-notes; altered correlative (ing -> ni)

Christian Fraß authored on21/08/2016 23:49:52
Showing1 changed files
... ...
@@ -85,7 +85,32 @@
85 85
 	);
86 86
 	$table->generate();
87 87
  ?>
88
- 	<div class="note_information">It is permitted to pronounce the sounds a little differently, for example <span class="letter lang_fs">v</span> as <span class="ipa">ʋ</span> or <span class="letter lang_fs">s</span> as <span class="ipa">z</span>, whilst the sounds from the table above are the default.</div>
89
-	<div class="note_warning">The runic writing is not meant to be used in regular texts. Use it only for purposes like art, etc.!</div>
88
+ 	<div class="note note_information">
89
+		<span class="note_content">
90
+	 		<p>It is permitted to pronounce the sounds a little differently, for example <span class="letter lang_fs">v</span> as <span class="ipa">ʋ</span> or <span class="letter lang_fs">s</span> as <span class="ipa">z</span>, whilst the sounds from the table above are the default.</p>
91
+		</span>
92
+ 	</div>
93
+	<div class="note note_warning">
94
+		<span class="note_content">
95
+			<p>The runic writing is not meant to be used in regular texts. Use it only for purposes like art, etc.!</p>
96
+		</span>
97
+	</div>
98
+	<div class="note note_reasoning">
99
+		<input type="checkbox" class="note_hide" title="click to show/hide" id="note_00"/>
100
+		<label class="note_label note_label_show" for="note_00">show</label>
101
+		<label class="note_label note_label_hide" for="note_00">hide</label>
102
+		<span class="note_content">
103
+			<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 <span class="word lang_pg">nahts</span> (English: <span class="word lang_en">night</span>)). On the other hand we found that the sound is very disconcerting to those, who don't have it 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>
104
+		</span>
105
+	</div>
106
+	<div class="note note_reasoning">
107
+		<input type="checkbox" class="note_hide" title="click to show/hide" id="note_01"/>
108
+		<label class="note_label note_label_show" for="note_01">show</label>
109
+		<label class="note_label note_label_hide" for="note_01">hide</label>
110
+		<span class="note_content">
111
+			<p>The letters <span class="letter lang_fs">ö</span> and <span class="letter lang_fs">ü</span> were not included inconsiderately. Factually 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 is was more convenient to have these sounds as compromises and connectors between the languages.</p>
112
+			<p>We also struggled to find proper written representations fo these sounds. One possibility was to use the IPA-like symbols <span class="letter lang_fs">ø</span> and <span class="letter lang_fs">y</span>, like e.g. Norwegian does. Unfortunatelly this had taken away the possibility to have the alternative writings <span class="letter lang_fs">oy</span> and <span class="letter lang_fs">uy</span>, 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>
113
+		</span>
114
+	</div>
90 115
 </section>
91 116
 
Browse code

repaired tables in content

Christian Fraß authored on08/08/2016 21:50:25
Showing1 changed files
... ...
@@ -19,10 +19,7 @@
19 19
 			new class_column
20 20
 			(
21 21
 				"IPA-sound",
22
-				function ($row)
23
-				{
24
-					return $row["ipa"];
25
-				},
22
+				"ipa",
26 23
 				function ($value)
27 24
 				{
28 25
 					return format($value);
... ...
@@ -32,19 +29,14 @@
32 29
 			new class_column
33 30
 			(
34 31
 				"Type",
35
-				function ($row)
36
-				{
37
-					return $row["type"];
32
+				"type"];
38 33
 				}
39 34
 			),
40 35
 			 */
41 36
 			new class_column
42 37
 			(
43 38
 				"Latin letter Representation",
44
-				function ($row)
45
-				{
46
-					return $row["latin"];
47
-				},
39
+				"latin",
48 40
 				function ($value)
49 41
 				{
50 42
 					return format($value, ["letter", "lang_fs"]);
... ...
@@ -53,10 +45,7 @@
53 45
 			new class_column
54 46
 			(
55 47
 				"Runic Representation",
56
-				function ($row)
57
-				{
58
-					return $row["runic"];
59
-				},
48
+				"runic",
60 49
 				function ($value)
61 50
 				{
62 51
 					return format($value, ["letter", "lang_fs", "runic"]);
... ...
@@ -65,35 +54,26 @@
65 54
 			new class_column
66 55
 			(
67 56
 				$configuration["languagemap"]["fs"] . " Example",
68
-				function ($row)
69
-				{
70
-					return $row["examples"]["fs"];
71
-				},
57
+				"examples",
72 58
 				function ($value)
73 59
 				{
74
-					return format($value, ["word", "lang_fs"]);
60
+					return format($value["fs"], ["word", "lang_fs"]);
75 61
 				}
76 62
 			),
77 63
 			new class_column
78 64
 			(
79 65
 				$configuration["languagemap"][$configuration["target"]] . " Example",
80
-				function ($row) use (&$configuration)
81
-				{
82
-					return $row["examples"][$configuration["target"]];
83
-				},
66
+				"examples",
84 67
 				function ($value) use (&$configuration)
85 68
 				{
86
-					return format($value, ["word", "lang_" . $configuration["target"]]);
69
+					return format($value[$configuration["target"]], ["word", "lang_" . $configuration["target"]]);
87 70
 				}
88 71
 			),
89 72
 			/*
90 73
 			new class_column
91 74
 			(
92 75
 				"Remark",
93
-				function ($row)
94
-				{
95
-					return $row["remark"];
96
-				},
76
+				"remark",
97 77
 				function ($value)
98 78
 				{
99 79
 					return format($value);
Browse code

renamed structure to content

Christian Fraß authored on15/05/2016 20:38:28
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,111 @@
1
+<?php
2
+	global $configuration;
3
+	include_once("source/logic/server/data.php");
4
+	include_once("source/logic/server/table.php");
5
+	include_once("source/logic/server/misc.php");
6
+ ?>
7
+<section class="section" id="phonology_and_orthography">
8
+	<header>Phonology and Orthography</header>
9
+	<!--
10
+	<p>Folksprak uses the following characters as letters:</pa>
11
+	  -->
12
+	<!--
13
+	<div class="note_information">It was not easy to find a phonology system for Folksprak.</div>
14
+	  -->
15
+<?php
16
+	$table = new class_table
17
+	(
18
+		[
19
+			new class_column
20
+			(
21
+				"IPA-sound",
22
+				function ($row)
23
+				{
24
+					return $row["ipa"];
25
+				},
26
+				function ($value)
27
+				{
28
+					return format($value);
29
+				}
30
+			),
31
+			/*
32
+			new class_column
33
+			(
34
+				"Type",
35
+				function ($row)
36
+				{
37
+					return $row["type"];
38
+				}
39
+			),
40
+			 */
41
+			new class_column
42
+			(
43
+				"Latin letter Representation",
44
+				function ($row)
45
+				{
46
+					return $row["latin"];
47
+				},
48
+				function ($value)
49
+				{
50
+					return format($value, ["letter", "lang_fs"]);
51
+				}
52
+			),
53
+			new class_column
54
+			(
55
+				"Runic Representation",
56
+				function ($row)
57
+				{
58
+					return $row["runic"];
59
+				},
60
+				function ($value)
61
+				{
62
+					return format($value, ["letter", "lang_fs", "runic"]);
63
+				}
64
+			),
65
+			new class_column
66
+			(
67
+				$configuration["languagemap"]["fs"] . " Example",
68
+				function ($row)
69
+				{
70
+					return $row["examples"]["fs"];
71
+				},
72
+				function ($value)
73
+				{
74
+					return format($value, ["word", "lang_fs"]);
75
+				}
76
+			),
77
+			new class_column
78
+			(
79
+				$configuration["languagemap"][$configuration["target"]] . " Example",
80
+				function ($row) use (&$configuration)
81
+				{
82
+					return $row["examples"][$configuration["target"]];
83
+				},
84
+				function ($value) use (&$configuration)
85
+				{
86
+					return format($value, ["word", "lang_" . $configuration["target"]]);
87
+				}
88
+			),
89
+			/*
90
+			new class_column
91
+			(
92
+				"Remark",
93
+				function ($row)
94
+				{
95
+					return $row["remark"];
96
+				},
97
+				function ($value)
98
+				{
99
+					return format($value);
100
+				}
101
+			),
102
+			 */
103
+		],
104
+		read_json("source/data/phonology_and_orthography.json")
105
+	);
106
+	$table->generate();
107
+ ?>
108
+ 	<div class="note_information">It is permitted to pronounce the sounds a little differently, for example <span class="letter lang_fs">v</span> as <span class="ipa">ʋ</span> or <span class="letter lang_fs">s</span> as <span class="ipa">z</span>, whilst the sounds from the table above are the default.</div>
109
+	<div class="note_warning">The runic writing is not meant to be used in regular texts. Use it only for purposes like art, etc.!</div>
110
+</section>
111
+