French canadian in SharePoint 2010 control with Regional Settings? - sharepoint-2010

is it possible to override the way a Literal or Localize control determines, which language should be used for localization?
We are currently in need to support fr-FR and fr-CA in two different SharePoint variations, originating from the same base. Sadly, there is no fr-CA language pack available for MOSS2010 and so we are not able to set this language in the variation settings. We are playing with the idea of getting the right culture from the regional settings (CurrentCulture), but at the moment I have neither a clue whether this would be feasible nor how to achieve this.
Keep in mind: We need this handling to be limited to the controls in our respective web part, so setting the culture of the current page would not be a solution.
Regards and thanks in advance,
Boris

Related

Parse Anypic multi languages

does anyone know how to get multi languages by using Parse Anypic? Is there a languages file to change? Then via a setting menu one user can change the languages, or the language is shown according to the mobile language.
Thanks
You can implement localization by yourself. You may do it by following this tutorial which I think is a good starting point.

WinRT & XAML - Resource Files but for a language not localization?

Roughly, reading up on localization and Visual Studio 2012 C# and XAML for a windows store app pointed me here:
http://msdn.microsoft.com/en-us/library/windows/apps/xaml/Hh965329.aspx
This shows how to create a resource file for, say, en-US and fr-FR, which are US English and France French. Shows you how to use the the resource loader to load it. That's good and using the UID in Xaml page to load it automatically.
However, my confusion comes with, say, I want to create a Spanish resource file. But I want to have it used for any spanish language localization. If I set it up for mx-ES, what happens if the localization is pe-Es for Peruvian Spanish or es-ES for Spain Spanish. Basically, i am a little confused on how I make 1 resource apply to all English or all French or all Spanish without it being bound by the country and without having to make a seperate resource file for every country/language combination.
I thought this would be an easy question, but I haven't seen where anyone has asked it yet.
Use just the language code for the culture so ES instead of es-ES.

wxWidgets: How to find what translations are currently available for the application?

The application should offer switching the human language (the translation) via its menu. Unlike in the internat sample, the list of available languages should be created dynamically -- based on what translations are available. Is there any function to get the information?
The wanted behaviour is to reflect the situation when someone else adds the .mo catalog for another language, then the user can choose the language from the menu.
Thanks for your time and experience,
Petr
No, there is no way to get all the available catalogs now. It could be nice to add this to wxTranslations but for the moment it's not there.
Notice also that switching the language from a menu, as is done in many Windows programs, doesn't work really well with gettext approach neither as you need to recreate your entire UI to reflect the change in the language. This is why the language is usually only selected on the application launch anyhow.
Maybe this will help? wxTranslationHelper can display available catalogs.

User-controlled NSLocalizedString interface changes

I am working on an app that has strings files for all the UI text. Depending on their language in the iPad international settings, they will start up with their chosen language on all the UI elements.
I want to add the ability for the user to change this within the app, so they could choose from the supported languages and the app would update the UI to the new choice. This way we could set up a kiosk where tourists can select their own language without assistance.
I'm not sure whether I should use NSLocalizedString:withTable: and pull the strings files into en.strings, zh.strings (instead of en.lproj/Localizable.strings) but that seems like a lot of unnecessary work.
Is there a way to use NSLocale to set the user language for the app and still use the NSLocalizedString() call?
There was an excellent answer to exactly this question in another thread:
Tutorial and example code for changing localization strings during app use
Seriously, go and upvote this guy. It is a shining example of the best SO has to offer!

How do I embed a custom user-control in MS Word?

Context: The environment is .Net 3.0 + WPF land, the DB is abstracted well out into the distance and the solution would need to work for Office 2000 and up I guess..
The need is to get a customized report for which the user would like to have certain application windows/boxes (e.g. a trend graph) displayed in Word. The window can be shown as a static image, the user can double-click and edit it (that would bring up an editor.. similar to behavior for an embedded spreadsheet) and OK out to update the object. Type some text around the box and save it or print it.
Also take into account, that I would need some mechanism to pass in data and kind of "data-bind" these app-specific boxes to it. e.g. the graph may have to bind to a specific time-range of data that it needs.
Now as a relative beginner to Word automation, what is the name of the tech / sub-tech that I would need to use for this? Also post any recommendations to books/posts that help you understand and get to running speed ASAP.. (since the business always believes the programmers are smart enough to figure it out.. we can give them complete trust.. but no time.)
I think you are going to have to look into writing an OLE embeddable/compatible application. It sounds like this may be a very large and complex task.
Is there any reason that Excel cannot do the graph that you are embedding?
I would strongly recommend making it dependant on Office 2007 and later. If you do so, you can use the ribbon and do .Net programming via VSTO.