Comparison I18N: Difference between revisions

From OpenPetra Wiki
Jump to navigation Jump to search
m (1 revision)
 
Line 33: Line 33:
*** can use xgettext from PoEdit for Windows
*** can use xgettext from PoEdit for Windows
*** can use programs in C:\Programme\Mono-2.4\lib\gettext, eg msgfmt.net.exe
*** can use programs in C:\Programme\Mono-2.4\lib\gettext, eg msgfmt.net.exe
*** see ICT\Common\Testing\I18N
*** see [http://openpetraorg.git.sourceforge.net/git/gitweb.cgi?p=openpetraorg/openpetraorg;a=tree;f=csharp/ICT/Testing/Common/I18N ICT\Testing\Common\I18N]


== Flexible Layout vs Fixed Layout ==
== Flexible Layout vs Fixed Layout ==

Revision as of 12:56, 22 June 2010

Criteria

  • easy for translators (do they need the full IDE? poedit?)
  • easy to update translations
  • easy for users to switch between UI languages; restart should be ok
  • GUI size changes (some languages need more space)
  • support asian languages
  • not only language, but also culture settings

Winforms resources

  • Example: SharpDevelop uses resource files
    • http://www.computer-books.us/csharp_3.php free book: Dissecting a C# Application - Inside SharpDevelop, Chapter 7, Internationalization (link at http://www.icsharpcode.net/OpenSource/SD/InsideSharpDevelop.aspx does not work)
    • Accessing Resources: centralized vs decentralized resource management model (PDF page 190)
    • online: they have an online translation application; it is proprietary (PDF page 194); offline: download xml file, translate, upload
    • not sure what they do about different sizes of controls; but it does resize somehow; even possible to switch language at runtime
  • http://www.codeproject.com/KB/dotnet/Localization.aspx describes 2 approaches with resource files:
    • Creating a satellite assembly for culture specific resource file and using it in the executing assembly
    • Creating a file based resource manager which enables accessing and reading a resource file from a location outside the assembly manifest

gettext

Flexible Layout vs Fixed Layout

TODO

Culture Settings

TODO: Date format etc