How to easily create custom localized resources(strings) in Visual Studio?


i think general question why post here. trying describe windows forms, think applies other ui approaches well.

okay, know how create forms localizable, how change current language , set values language ui. convenient. problem when have localize other strings(messages, etc.) not used directly in the forms. know can create own language(resource) files , put strings there. i know how values files using code. whole procedure seems little bit inconvenient me, wonder whether way designed done. , if don't, is.

what think way it:
as far understand, must create resource file each language want support, plus 1 file holds default values. seems same form designer me - enough.

what don't like:
i have write each key string in different language files manually. not automatically there - in ui mean, not in file itself. maybe bit unclear give example:

lets assume have string resource named my_message.

in default resource file(this seems pretty normal me):
1. add string resource named 'my_message'
2. write default translation
3. have: my_message=my message - default

in resource file language:
1. add string resource named 'my_message' - here is problem(see below)
2. translate...
3. have: my_message=my message - language

i have manually put resource key 'my_message' in language files - done automatically me when using forms designer. when have many strings localize annoying. missing or way it? maybe there tool missing or maybe not creating custom resource files way should done?


questions best asked in software development forums...

can copy file, , edit (and filename)?

yes, whole idea have resource file, if localisation found particular language, or locale, used, otherwise support falls more neutral resource implementation.

actually, forms, when type resource string in through forms designer, change langues, , re-type resources, you're doing same thing writing hand (well, almost).  there resource file editors out there give same sort of if needed though.  go , search in google.

cheers,

martin.

mcsd, mcts, mcpd. please mark post helpful if find information good!


Architecture  >  Architecture General



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'