The resource-files tag has no wiki summary.
0
votes
1answer
26 views
use of 14hive resources in XSLT for XLV
Is there a way to use 14hive(!) custom resources ( Resource:MyCompany.MyProject.resx, MyProject.SomeComponent.SomeResourceKey; ) in a XSLT files for XsltListViewWebPart (and views)? Please, notice the ...
0
votes
0answers
9 views
Converting resources to a C# dictionary
I am looking for a way to get all resource strings from the current language and turn them into a C# collection (a Dictionary, for example). The resource files in question are stored under the ...
0
votes
1answer
15 views
Resources files and default list forms (SP2010)
I have a feature that provisions fields, a content type, and a list based on that content type (all programmatically)
To implement localization, I set the title of the SPFieldLink objects to a ...
1
vote
0answers
41 views
Use sharepoint resource keys in custom application page
I have a custom application page (apsx) with an <asp:Label> and i want to display a localized message in the label. I want to use an existing sharepoint resource key
MyPage.aspx
<asp:Label ...
0
votes
0answers
75 views
SPUtility.GetLocalizedString not working in feature receiver when deployed from Visual Studio
I use SPUtility.GetLocalizedString in FeatureActivated method of a feature receiver to add a label to a custom action on a specific list instance.
When activating feature from SharePoint or ...
1
vote
0answers
40 views
Adding ScriptResx.ashx Compatible .Resx files to your SP Solution
I asked a question maybe yesterday or two days ago tops about using ScriptResx.ashx with custom resource files. I noticed that at first my custom file wasn't being rendered through the handler because ...
3
votes
1answer
120 views
ScriptResx.ashx Not Working
I'm trying to use ScriptResx.ashx in an Application Page I'm building (just to test out the functionality) and every time I try to grab a resource from what should be a JavaScript object, SharePoint ...
1
vote
1answer
186 views
Load resource strings (in .resx file) from other assembly
We are seeking to gradually move custom artifacts to new solutions (wsp's) and I'm stuggling with loading resource strings from xml/code in original package (XXX.Package.wsp).Resource files are now ...
1
vote
1answer
104 views
2013 resource issue : The name 'InitializeControl' does not exist in the current context
In the Sharepoint project we have added few resource files and mapped them to Sharepoint resource folder(Delpoyment location-{SharePointRoot}\Resources).
using the below code, we tried to read ...
3
votes
1answer
130 views
SPUtility.GetLocalizedString() Method Parameters
I have two Label Controls with text property as "Name" and "Company". I want to change the text of these two Controls into Swedish language. For this, I created resource (.resx) file named ...
0
votes
1answer
63 views
Sharepoint 365 feature resources bug
After Sharepoint 365 update (end 09.11.2012) resources string in list definition start display as:
$Resources:_FeatureId{AC83475A-588E-4876-BB71-24524023F731},FieldSortOrderDisplayName;
Field ...
0
votes
1answer
54 views
ContenType Name is not being translated
We have a content type
So, in the content types xml we have something like this:
<ContentType ID="0x01010047B1CC563D1FA04EAD263BA38ADFBA0C06" ...
5
votes
1answer
228 views
Unusual resource handling in SharePoint?
In ASP.NET, WinForms and others, resource management is pretty well thought of and documented. When I have xxx.hu.resx (a neutral culture) and the current culture is hu-HU (a specific culture), the ...
0
votes
1answer
139 views
GetLocalizedString in CreateChildeControls returns source string
I have a strange issue ... I want to retrieve resources programmatically from a SharePoint default resource file wss.
So in one of my controls im executing the following code:
protected override ...
1
vote
1answer
227 views
Using SharePoint resource files in literal
I have a user control, and I would like to use there the OOTB resource files for some standard text.
So I found a resource file WSS and there a resource to view.
In code:
<asp:literal ...
5
votes
1answer
587 views
Where to find strings for $Resources:core
I want to find out what string lies under $Resources:core,....
Is there a list, or a class where I can see what exactly are the values for those resources?
0
votes
0answers
85 views
how to sharepoint display list name into several languages
I have created a site, installed my language packs, created the term store servcie and created some terms in multi-language (persian and english). I then created a site in which, I created a new list. ...
3
votes
2answers
501 views
Sandbox Solution: How to use resource files in master page
When i create a sandbox solution, and i want to use resources in my code, i use sattelite assemblies.
But in my masterpage it seems not to work, i get following error:
Parser Error Message: The ...
2
votes
1answer
204 views
Sandbox: Localize listInstance title
how to localize listInstance title in sandboxed solution?
It is posible to add Resources.resx file to feature and localize ListDefinition:
<ListTemplate
Name="TagsListDefinition"
...
1
vote
1answer
592 views
Not getting the resource of specific variation
Actually this is a double question,
1
I'm trying to get the right variation from the following code:
SPUtility.GetLocalizedString("$Resources:MyDefaultResourceFileName,MyWantedValueKey", ...
1
vote
3answers
342 views
How to access a resource file from another project in XML?
I am trying to access my language localization resource file which is in the same solution, but in a different project then the one I am currently working on. I don't want to use multiple resource ...
1
vote
1answer
87 views
Why doesn't multi-langual work in the “New Item” form?
I have created a site, installed my language packs, created the term store service and created some terms in multi-language (Persian and English).
I created a resource file for list and column name.
...
0
votes
1answer
392 views
How to turn off “Failed to open the file” logs for invariant resources? [duplicate]
Possible Duplicate:
Resource files creates unnecessary ULS log entries
With invariant resources in the SharePoint solutions, we have a lot of spammed logs, such as
Failed to open the file ...
1
vote
1answer
233 views
Resources in Application Page
I've created an application page with a dropdown that's using resources, like this:
<SharePoint:DVDropDownList ID="ContentTypesDropDown" runat="server">
<asp:ListItem Text="<%$ ...
1
vote
2answers
177 views
resources in site definition
I have a problem with resources in my site definition. I have 2 languages dutch (1043) and english (1033). In my site definition i'm using a feature which has a site column. This site column has ...
4
votes
1answer
783 views
Why is SharePoint 2010 looking for en-us and not en-gb with resource files?
Failed to read resource file "C:\Program Files\Common Files\Microsoft
Shared\Web Server
Extensions\14\Resources\RegistrationResource.en-US.resx" from feature
id "(null)".
I am getting loads ...
5
votes
2answers
2k views
Resource files creates unnecessary ULS log entries
We're using resource files to handle UI-constants. This is working out alright. The problem is that we're getting lots of 'High'-level logging entries in ULS. They look like the following:
Failed to ...
6
votes
2answers
484 views
Localization on a SPField created in code
When you declare a SPField in CAML, you can add the localization in the code:
<Field
ID="{57258F13-19B2-4A97-B244-090845B5C4AB}"
Type="Text"
Name="Partner"
...
0
votes
1answer
326 views
How to use resource files
Plenty of links, no definitive answer found. How to use localizable resource files and change the current locale for a user under sharepoint AND external apps.
I have global resources deployed with ...
3
votes
2answers
448 views
Location of SPResource.GetString() strings (for Access Request emails)
I'm looking into changing the text on the emails which are sent out after a user clicks the Request Access link on an Access Denied page in MOSS (2007).
This blog post has some helpful information, ...
0
votes
1answer
380 views
Add a JS file as embedded resource in a web part in VS2010
I am trying to add resources JS files, images, CSS files as embedded resources to my custom web part, I am writing in VS2010. I have set the properties of these files as "Embedded Resources", but I am ...
0
votes
1answer
887 views
resx strings in application pages
I want to use strings from my resx-files in my application pages. How can I refer to my resource file?
<h2><%$Resources:MyProject,Test_String_Heading%></h2> results in page crash.
1
vote
1answer
688 views
Sharepoint 2010 - wpresources for Bin / web Application Deployment
In SharePoint 2010 , using visual studio 2010 :
i have bin / web application deployment.
i want to add java script file under Virtual Directories\/wpresources//
I cannot use the Resources mapped ...
1
vote
1answer
290 views
What's the best way to auto deploy resources in SP 2010?
I was wondering if there some automatic way to deploy resources (images / resource files) to IIS virutal directory from visual studio/ deployment instead of having to manually copy it to the virtual ...
1
vote
1answer
478 views
Automatically deploy resource files to Central Administration's App_GlobalResources folder when deploying a solution to a web application
I'm developing a SharePoint 2010 solution which consists of some web parts and other components. Furthermore the solution needs a application pages in the Central Administration for configuration.
...
1
vote
1answer
517 views
How to use resource files in webtemp xml
Probably another easy question, but I've been working on it this morning and haven't been able to get it to work.
I have a site definition that I am attempting to move the string literals to a ...