VSTemplates and Localization

Hi there, we use the new vstemplate project templates for our project system but do not support all the locales that VS itself supports. So, for example, we have a bunch of zip files under the 1033 directory for English and the same(localized) versions under 1041 on a Japanese install. When we install on a different localized version of VS (E.G. French) none of the templates appear in the New Project dialog (since we haven't installed anything to a 1036 directory). So, it doesn't appear that VS defaults to 1033 (as the package resource load seems to do) when the locale is not found.

Is there a way to get VS to look in the default(1033) directory for the templates in this case Or do we have to install non-localized versions to the project template root (I.E. not in a locale folder) This does appear to work, but if you also have a locale folder for the current UI locale you'll get those templates listed too - it would be simpler for us if you could just get VS to default to looking in the 1033 directory.



Answer this question

VSTemplates and Localization

  • Sebastien St-Laurent

    This has been identified as something that does not work as it should, and we are looking into adding this as a feature for the next version. But for now, you need to install templates into multiple directories.

    Craig



  • LopuX

    Multiple languages can be installed, but I am unsure how you go about doing that. To programmatically get the locale, you can call the property DTE.Locale.

    Craig



  • Chris_Jose

    Thanks Craig. One further point, is it possible for VS to have multiple locales installed (say both French and German) In other words is it possible that we'd need to create multiple template directories

    Following on from that, what's the best way of detecting the locale of the installed VS


  • VSTemplates and Localization