Tag Info

Hot answers tagged

6

If you examine page source you will see that Select Display Language > Language calls simple javascript: OnSelectionChange(1033); Where 1033 is language id. I have tried launching this form FireFox FireBug console and it works. So your link could be something like: <a href="" onclick="OnSelectionChange(1033);">English</a> You can also ...


5

What you are seeing sounds like you are seeing a My Site created in english and where the pt-BR alternate language has been enabled and selected. The SharePoint MUI does not handle webpart titles, so My Site, my profile, etc will be a mix of languages unless you are using a third party product like PointFire and enabling the feature on these sites. You ...


3

For shared resource files in SharePoint (i.e. RESX files that must be shared amongst Features/Projects/Solutions), the best thing to do is to deploy them to the SharePoint Root's "Resources" folder (14/Resources). Then you'd reference them in one of two ways. In the RESX reference, you can specify the file name in the RESX reference like so (leaving off ...


2

In SharePoint 2007 every site collection and website is tied to a language, it cannot be changed dynamically. So you have to rebuild a new site collection for each language (French and Canadian one). Furthermore you'll have to adopt you custom controls and web parts to use resource files. By this way you could use your controls and web parts for every ...


2

Step by Step instruction to install and configure language pack for SharePoint 2010. http://virtualizesharepoint.com/2011/07/21/installing-language-packs-for-sharepoint-2010/ Once the configuration is completed, navigate Central Administration -> Upgrade and Migration –> Check product and patch installation status. Now Open the SharePoint site -> Site ...


2

This has been quite a wild goose chase! There definitely was a mistake in cmscore.es-ES.resx, however, it's fixed in the service pack for the language pack: http://www.microsoft.com/download/en/details.aspx?id=26621 I had no idea that a service pack was available for the language packs; it makes sense because SP1 and the CUs didn't address any ...


2

The default language for a whole SharePoint system is based on the installation language of original SharePoint installation media and cannot be changed (without a re-install). With additional language packs, site collections can be created in a selection of languages, but once again, once the site collection has been created, the default language cannot be ...


2

You can use resource files to allow our custom application page to be available when users switch languages. Check a very good example on how to do it But just make sure SharePoint 2010 installation has different language packs deploy. It can easily be checked If you jump into Site Actions > Site Settings you should have a link under the ‘Site ...


2

An interesting question! I assume you want to load the locale in javascript (in order to use it with Globalize.js). Regardless the solution I see some problems: What data source to trust: navigator.language, user prefered language in browser (Accept-Language) or SPRegionalSettings of an SPUser? What if the user locale differs from the web locale and you ...


2

Look at this post. To check which SharePoint language packs were installed - check registry. For SharePoint 2010, change 12.0 to 14.0 and for 2013, change it to 15.0. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS\InstalledLanguages\ here you will see something like this: LCID – Reg_SZ – {language pack build level} ...


1

You will need to create a resx file for each language. Here is an ASP.NET example. Then create the Name-Value pairs in the resex files. I might want to define a customer site column for to display a customer name. In the English file I would define it as Customer = Customer then in the Dutch rexx I would define it as Customer = Klant, etc. The important ...


1

If you're using the RTM edition of SharePoint 2013 Foundation, you could install the language pack for Dutch here : http://www.microsoft.com/en-us/download/details.aspx?id=35492 (make sure you pick the dutch file) There should be downloadable as well for Standard / Enterprise but I didn't find them. Once the installation will be finished on all your server ...


1

You will need to install the Dutch language pack on your servers. Here's how to do that (for SharePoint 2013): http://technet.microsoft.com/en-us/library/cc262108(v=office.15).aspx After you install the language pack, you'll be able to choose the language. However, only the SharePoint builtin controls and labels will be in Dutch. You can also translate ...


1

One way to do this without accessing the database is to use site templates (or probably even export/import). It's not very pretty, but the theory is simple and it have worked for me: Save site as template Find, download and extract the WSP (it's a CAB file). Create missing resource files, find and replace all current language ids (like 1033) with the one ...


1

The language toggle is actually just a javascript function that sets a cookie and reloads the page. You can put it anywhere. It was very cleverly named: OnSelectionChange(lcid) To have for example a French/English toggle, put the following div in your page: <div class="language-switch"> <a id="language-fr" ...


1

You can use Resource (.resx) files that hold the text of the interface, one for each language, and call the resources from within your Application Page markup. For example, you will need the base resource file, let us call it SpResources.resx which contains the default value. Then, for each language you with to support, create another resource file, ...


1

Though I am not sure about this, you can play with powershell and try to do this. Look at SPWeb.UICulture property and try to set it to some other language and update web. Also look at this discussion: How to change the default site language?


1

Yes you should use the GUID The GUID of a lot of the BuiltIn Fields are abailable in SPBuiltInFieldId regarding Due Date use SPBuiltInFieldId.DueDate


1

Use SPField.InternalName. You can see what the Internal Name in several ways, such as in List Settings, or in AllItems (url when sorting by a field). Internal Name of "Due Date" in Tasks list is DueDate.


1

I found a solution on a following issue to change the default language to alternate language programmatically using which the sharepoint designer's actions and conditions language doesn't change below is the javascript code: _spBodyOnLoadFunctionNames.push('ChangeLanguage'); function ChangeLanguage() { //script fetches current display language var lcid ...


1

The display language per user is stored in a cookie which you set like this: <script type ="text/javascript"> // <![CDATA[ function OnSelectionChange(value) { var today = new Date(); var oneYear = new Date(today.getTime() + 365 * 24 * 60 * 60 * 1000); var url = window.location.href; document.cookie = "lcid=" + value + ...


1

You can use localization which is a .NET feature to provide resources based on the culture of the user. This MSDN article explains localization in context to SharePoint development (http://msdn.microsoft.com/en-us/library/ee696750.aspx). You can generate two resource lists, one in english and one in French. Then you can tell the feature to display the ...


1

If you dont want to set up a site collection at http://www.somecompany.com, You can achieve the redirection using httpmodule. The httpmodule is applied at web application level so it doesn't care if your site collection really exists. In the httpmodule, You can check for Accept-Language header using the Headers collection in the Request object : ...


1

Double check to make sure cmscore.es-ES.resx file actually exists in the Resources (or App_GlobalResources, I can't remember which of the two cmscore exists in). This kind of thing happens when it can't find the resource file for the target locale so falls back to the operating system language (English). If it's not there, reinstall the language pack for ...


1

how are you activating the content type binding from your site definition? If you are using feature stapling you risk race conditions if you a) provision modules or list instances from onet.xml b) have other stapled features on same scope that provisions artifacts used by the feature. The provisioning order of site definitions are a) site scoped features ...


1

You can always copy original resx file and rename it to your language specific (in your case something.pl-PL.resx). Then you can translate it manually. Two main resx files are: Core.resx - located in x:\Program Files\Common Files\Microsoft Shared\Web Server Extensions[SP version]\Resources wss.resx - located in virtual directory with default location ...


1

I would go for the following option map the (content-)language crawled property on a (new) meta-data property. As you are using Fast, it is not possible to use a custom filter with a value mappingtype (http://msdn.microsoft.com/en-us/library/ff625185.aspx). Maybe you could try a range-type, as you are getting back numbers, but I am not sure. If you are ...


1

"NavNodes" tables in Database are having Global and Current navigations references which are showing reference of 1033 in their URLs, so need to delete this ‘/1033’ text from all URLs. Reference of ‘/1033’ is used only in SharePoint 2003. This is not more in use in MOSS 2007 and SP2010. Steps to update Navigations URLs in MOSS 2007 or SP2010: Open SQL ...


1

Hi had the same issue with this. I resolved it by manual updating the top link bar as follows: Click site settings (you will have to remove the 1033 folder in your url link) Click Top Link Bar under Look and Feel Select each link and manually remove the 1033 folder and save. Hope this is of some use



Only top voted, non community-wiki answers of a minimum length are eligible