Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Example

Localization change

Method

Architecture

SharpDevelop

runtime

  • .NET ResourceManager

Paint.NET

restart

  • .NET ResourceManager

MonoDevelop

?

  • written in C/C++
  • getText instead of Resources.
    This allows MonoDevelop to take advantage of
    GNOME translators' familiarity with getText.

?

Spring.Net

runtime
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1c0a32afb24880a7-e1229d81-463948bd-b8dc9651-fcd277663359b49b56f3596f"><ac:plain-text-body><![CDATA[[web, just 1 page to refresh]

  • [Follows Globalization Architecture .NET

http://msdn2.microsoft.com/en-us/library/aa478974.aspx]]]></ac:plain-text-body></ac:structured-macro>

  • Automatic Localization Using Localizers ("Push" Localization)
  • Working with Localizers $this (form/usercontrol) or $resource_namespace
  • Applying Resources Manually ("Pull" Localization) like getMessage("labelName");

-

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="5be306de4c1eea7c-c17b63ef-4bed43ba-b3d5aaa8-2794cf4b9c116b52ec787f79"><ac:plain-text-body><![CDATA[

MonoRail

runtime
[web, just 1 page to refresh]

  • .NET ResourceManager
  • [Facade ResourceManager

^Architecture_MonoRail_Resources.png]]]></ac:plain-text-body></ac:structured-macro>

...

Method

Maintenance

Remarks

Resources (.NET)

Satellite assembly: editors -Zeta Resource Editor,Resource Builder

-

gettext

kbabel gettext editor

  • indexed on content (hard coded)

DelftLanguage

text-files(lng)

  • dll
  • parsing all controls of forms
  • indexed on content

Resources (.NET) versus gettext

  • Resources (.NET) not only text, also images, files etc.
  • Resources (.NET) can also be used for redesign/culture (location/Size)
  • Resources (.NET) indexed on labels or control names

...

gettext

kbabel gettext editor

  • indexed on content (hard coded)
  • gettext generate a indexlist on '

...

  • run'

DelftLanguage

...

text-files(lng)

  • dll
  • parsing all controls of forms
  • indexed on content

Suggestion


Architecture

UML_Localization.png

Work method

  • Wiki Markup
    Automatic Localization Using Localizers = property window Visual Studio \[resource on class (Form/UserControl)s level\]
  • Applying Resources Manually = resourceresourceService.getString(indexname) for using the Lookup hierarchy.

...

  • Class (Form/UserControl) languagecode-country/regioncode
  • Class (Form/UserControl) languagecode
  • Namespace (Project) languagecode-country/regioncode
  • Namespace (Project) languagecode
  • Application (Plugin) languagecode-country/regioncode
  • Application (Plugin) languagecode
  • DelftShell (DelftShell.Resource, a new project in DelftShell for all common translations like save, delete, remove etc.) languagecode-country/regioncode
  • DelftShell (DelftShell.Resource, a new project in DelftShell for all common translations like save, delete, remove etc.) languagecode

...