https://wiki.haskell.org/index.php?title=Talk:Internationalization_of_Haskell_programs_using_gettext&feed=atom&action=history
Talk:Internationalization of Haskell programs using gettext - Revision history
2024-03-29T07:13:48Z
Revision history for this page on the wiki
MediaWiki 1.35.5
https://wiki.haskell.org/index.php?title=Talk:Internationalization_of_Haskell_programs_using_gettext&diff=42280&oldid=prev
YitzGale: Talk:Internationalization of Haskell programs moved to Talk:Internationalization of Haskell programs using gettext: Allowing for listing other approaches to i18n on the general page.
2011-10-03T09:45:12Z
<p><a href="/Talk:Internationalization_of_Haskell_programs" class="mw-redirect" title="Talk:Internationalization of Haskell programs">Talk:Internationalization of Haskell programs</a> moved to <a href="/Talk:Internationalization_of_Haskell_programs_using_gettext" title="Talk:Internationalization of Haskell programs using gettext">Talk:Internationalization of Haskell programs using gettext</a>: Allowing for listing other approaches to i18n on the general page.</p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 09:45, 3 October 2011</td>
</tr>
<!-- diff cache key wikidb_haskell:diff:wikidiff2:1.12:old-38778:rev-42280:1.10.0 -->
</table>
YitzGale
https://wiki.haskell.org/index.php?title=Talk:Internationalization_of_Haskell_programs_using_gettext&diff=38778&oldid=prev
Aufheben: Undo revision 38776 by Aufheben (Talk)
2011-02-16T07:32:40Z
<p>Undo revision 38776 by <a href="/Special:Contributions/Aufheben" title="Special:Contributions/Aufheben">Aufheben</a> (<a href="/index.php?title=User_talk:Aufheben&action=edit&redlink=1" class="new" title="User talk:Aufheben (page does not exist)">Talk</a>)</p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 07:32, 16 February 2011</td>
</tr><tr>
<td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td>
</tr>
<tr>
<td colspan="2" class="diff-empty"> </td>
<td class="diff-marker">+</td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>I think the gettext function <hask>__</hask> should add decodeString from Codec.Binary.UTF8.String for many locales to be displayed correctly, such as zh_CN.</div></td>
</tr>
<tr>
<td colspan="2" class="diff-empty"> </td>
<td class="diff-marker">+</td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"></td>
</tr>
<tr>
<td colspan="2" class="diff-empty"> </td>
<td class="diff-marker">+</td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><haskell></div></td>
</tr>
<tr>
<td colspan="2" class="diff-empty"> </td>
<td class="diff-marker">+</td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"></td>
</tr>
<tr>
<td colspan="2" class="diff-empty"> </td>
<td class="diff-marker">+</td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>import Codec.Binary.UTF8.String (decodeString)</div></td>
</tr>
<tr>
<td colspan="2" class="diff-empty"> </td>
<td class="diff-marker">+</td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"></td>
</tr>
<tr>
<td colspan="2" class="diff-empty"> </td>
<td class="diff-marker">+</td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>__ :: String -> String</div></td>
</tr>
<tr>
<td colspan="2" class="diff-empty"> </td>
<td class="diff-marker">+</td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>__ = decodeString . unsafePerformIO . getText</div></td>
</tr>
<tr>
<td colspan="2" class="diff-empty"> </td>
<td class="diff-marker">+</td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"></td>
</tr>
<tr>
<td colspan="2" class="diff-empty"> </td>
<td class="diff-marker">+</td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></haskell></div></td>
</tr>
<tr>
<td colspan="2" class="diff-empty"> </td>
<td class="diff-marker">+</td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"></td>
</tr>
<tr>
<td colspan="2" class="diff-empty"> </td>
<td class="diff-marker">+</td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>See my post on [http://stackoverflow.com/questions/5011873/how-to-do-i18n-and-create-windows-installer-of-haskell-programs "stackoverflow"].</div></td>
</tr>
</table>
Aufheben
https://wiki.haskell.org/index.php?title=Talk:Internationalization_of_Haskell_programs_using_gettext&diff=38776&oldid=prev
Aufheben: Removing all content from page
2011-02-16T01:48:34Z
<p>Removing all content from page</p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 01:48, 16 February 2011</td>
</tr><tr>
<td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td>
</tr>
<tr>
<td class="diff-marker">−</td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>On my Ubuntu 10.10, it works if I change `LOCALE=de_DE.UTF-8 ./Main` to `LANG=de_DE.UTF-8 ./Main`. But the output is garbled when I'm doing Simplified Chinese, with LANG set to zh_CN.UTF8.</div></td>
<td colspan="2" class="diff-empty"> </td>
</tr>
</table>
Aufheben
https://wiki.haskell.org/index.php?title=Talk:Internationalization_of_Haskell_programs_using_gettext&diff=38775&oldid=prev
Aufheben: Problems encountered on i18n of Haskell programs.
2011-02-16T01:45:25Z
<p>Problems encountered on i18n of Haskell programs.</p>
<p><b>New page</b></p><div>On my Ubuntu 10.10, it works if I change `LOCALE=de_DE.UTF-8 ./Main` to `LANG=de_DE.UTF-8 ./Main`. But the output is garbled when I'm doing Simplified Chinese, with LANG set to zh_CN.UTF8.</div>
Aufheben