Skip to main content

Questions tagged [resource-files]

Resource files contain strings localized for the default culture, such as English. Resource files are specific to a language region and are used in localization.

Filter by
Sorted by
Tagged with
1 vote
0 answers
218 views

Could not find any resources appropriate for the specified culture or the neutral culture

I inherited a big SharePoint application, that I am trying to setup on a system(I had to reinstall SP 2016 for some reason). I have a WebPart which is using resource files for different languages. ...
entryton's user avatar
  • 332
3 votes
0 answers
413 views

SharePoint 2013 cmscore resource wrong translation for List_Pages_UrlName

I am using CSOM to get dutch translation of the 'List_Pages_UrlName' field in cmscore.nl-NL.resx resource file from the Dutch language pack. // Get the language of the web var context = web.Context; ...
bartd's user avatar
  • 106
6 votes
1 answer
1k views

How to get Choice Fields Choices in alternative language?

Is there a way to get Choice Fields choices in alternative language? I have a web site that is in Swedish and alternative language English. I'm using resource files. The field name is translated ...
George Norberg's user avatar
2 votes
1 answer
309 views

C#: How can I loop through all resource strings?

Assuming I can easily retrieve a string from the resouce file using this: SPUtility.GetLocalizedString("$Resources:MyKey", "MyResources", (uint) CultureInfo.CurrentUICulture.LCID) How can I loop ...
elsni's user avatar
  • 471
1 vote
0 answers
105 views

Wrong resources fetched

I am working on a SharePoint project and we have an Arabic version and an english version. There are two ways of changing languages. Either switch SharePoint platform language, or sending the language ...
PhpLou's user avatar
  • 111
1 vote
1 answer
35 views

Definitions errors. Am I missing a resource package?

I am a total beginner and I am being asked to edit something that has already been created. I am having an error with undefined variables here: I was told these would be defined with a SharePoint ...
Christopher's user avatar
0 votes
0 answers
671 views

Is it possible to edit .resx file manually?

I have a resourcefile in the SharePoint 14 hive called SPMailRevision.resx. (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Resources\) I have a solution that refers to this ...
Kjetil Ytrehus's user avatar
1 vote
0 answers
364 views

SharePoint 2013 Search Center - Alternative for $includeLanguageScript?

Is there an alternative approach to loading the language resource files with $includeLanguageScript in SharePoint 2013 Search Center? Sometimes it happens that the file is not loaded fast enough, ...
user43914's user avatar
0 votes
1 answer
292 views

Internal column name from Resource file

I have created a resource file to store project site column names and display names. What I find odd is that when the column is created the internal name remains $Resources:Boris.SP.Abl.SiteColumns,...
Boris's user avatar
  • 1,410
0 votes
2 answers
872 views

Site column definitions displaying resource keys instead of values

I wrote a Boris.SP.Abl.SiteColumns.sr-Latin-RS.resx resource file for a SharePoint 2013 farm solution project. I followed the tips from here to ensure that the resource is deployed to both %15hive%/...
Boris's user avatar
  • 1,410
0 votes
1 answer
202 views

Unable to get Resource file key pair values in page layout

I have a resource file uploaded to my server, in the 15 hive. I have pagelayout that one of my sites use: In my aspx page i am trying to set a href links to my resource file values <li><a ...
Batistuta's user avatar
  • 708
0 votes
1 answer
144 views

Localized list views in SharePoint-hosted Apps

I was trying to localize my SharePoint app and I encountered a bit of a problem. I created a feature resx file, added all the names to it and replaced my static names with $Resources:[...
Szab's user avatar
  • 198
0 votes
0 answers
273 views

An Unexpected Error has occured -> after adding custom resource file in APP_GlobalResources

We have shifted MOSS 2007 solution from one physical server machine to another machine. After hard work, every thing works perfect except one error as below: An error occurred during the processing ...
SPBeginer's user avatar
  • 2,547
0 votes
1 answer
166 views

Resource translation in custom WebPart failure

Some resources of my project aren't translated properly. Wanted behavior is resource displayed in both French and English. Default site's language is English. When I force my web browser to display ...
Othella's user avatar
  • 88
0 votes
1 answer
37 views

How to include end user editable resources?

I have a custom list item form that sends email notifications when certain things happen. I want the text of the email to be changeable without having to recompile or redeploy a solution. I thought I ...
HamHamJ's user avatar
  • 395
1 vote
2 answers
209 views

Pass resource file values to web part settings

I've created a page layout which has a content by query web part embedded in it. I would like to have the CQWP pre-configured as much as possible so that the user doesn't need to make changes after ...
kei's user avatar
  • 586
2 votes
0 answers
28 views

SharePoint 2010 Vaiations site managing translations

How to manage the variations sites translations for the words? We have the English and Arabic publishing sites and we need to have the common keyowrds translations manageable easly in SharePoint 2010 ...
Umesh Bagalur's user avatar
0 votes
0 answers
5k views

Resource object with key not found, but the resource file is there

I am creating a custom display form(.aspx) and in it I must have multilanguage support. I added a resource file in the Resourses mapped folder, added data to it and deployed. An error occured: The ...
Gesh's user avatar
  • 311
0 votes
2 answers
502 views

Web template resource file examples

Using resource files for Web Template: How to add a localized Title to a list instance? How to add a localized Title to a web part added in ONET.XML? how to add localized terms in a CEWP contents ...
thomius's user avatar
  • 2,808
0 votes
1 answer
416 views

Web template resource files: best practice

What is the proper recommended way to add resource files in Web Templates?
thomius's user avatar
  • 2,808
3 votes
3 answers
2k views

How to specify the complete path for a resource file when accessing it in Sharepoint object model?

I followed this tutorial to create a resource file named GlobalResources.resx under Resources. I am able to access the content of the resource file using: string resourceVal = SPUtility....
SNag's user avatar
  • 149
1 vote
0 answers
216 views

SharePoint reading wrong resource file

I have a publishing site with following structure Top level site English ENSubsite Arabic ARSubsite The "Locale" in "Regional Settings" of English and ENSubsite is set ...
Frank Martin's user avatar
  • 3,702
0 votes
1 answer
3k views

Using SharePoint resource file in my web part

I have a SharePoint application and for that I have created resource files which are inside App_GlobalResources folder. I am making a visual web part and want to use those resource files rather ...
Frank Martin's user avatar
  • 3,702
1 vote
1 answer
156 views

What is the resolution mechanism to localization resources in SharePoint 2010?

How does SharePoint behave when it does not find resource file? (I'm interested specifically in SP2010 if the behavior was different across versions.) I found errors in ULS log specifying it cannot ...
eXavier's user avatar
  • 220
3 votes
0 answers
700 views

How do I localize web part title?

I'm adding a bunch of web parts to a page using a module like this: <AllUsersWebPart WebPartZoneID="TopLeftRow" WebPartOrder="1"> <![CDATA[ <webParts> <...
Gabriel Smoljar's user avatar
0 votes
1 answer
1k views

Is updating a .resx file as an editor possible in Sharepoint 2013?

Is there a recommended way to update existing .resx files as an editor? .resx files are the common way to provide localized texts. As an editor it should be possible to change those texts without ...
Tom Bola's user avatar
  • 381
0 votes
1 answer
7k views

Sharepoint 2013 Resource files location

I'm trying to translate some resource files of sharepoint 2013. I can't find the messages on the DeltaPageStatusBar when you start to modify the page For example the resource file for this mesages: ...
MIlena's user avatar
  • 487
1 vote
2 answers
1k views

How to embed resources in a visual web part

I am creating a visual web-part that has a few images, a CSS file and a java-script file, but i'm having issues. Can someone please tell me what I am missing or doing wrong? I have added the files ...
user5389's user avatar
0 votes
1 answer
3k views

The name 'Thread' does not exist in the current context

I am trying to use following code in my page layout to display text from resource file but getting error. CODE <%= SPUtility.GetLocalizedString("$Resources:NewsHeading", "myresourcefile", Thread....
Frank Martin's user avatar
  • 3,702
1 vote
3 answers
1k views

How to use resource file inside page layout?

I have a page layout in which following text is written: NEWS I already have a resource file which I am using in one of my XSLT file to display text based on language. In XSLT file I simply write ...
Frank Martin's user avatar
  • 3,702
0 votes
1 answer
700 views

Error using resource files in Sharepoint-Hosted app

I have set a couple of supported locales in my Sharepoint-Hosted app, and now I have a folder caled "Resources (Host Web)" in my app directory. These host files contain a key/value pair WizardStep1/...
Mikel's user avatar
  • 231
0 votes
1 answer
179 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 ...
dbardakov's user avatar
  • 482
0 votes
1 answer
87 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 ...
Kenneth Van Coppenolle's user avatar
1 vote
0 answers
683 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 ...
Panos Bariamis's user avatar
3 votes
1 answer
762 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 ...
EHorodyski's user avatar
  • 1,104
6 votes
2 answers
4k 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 ...
EHorodyski's user avatar
  • 1,104
1 vote
1 answer
7k 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 ...
user1023810's user avatar
1 vote
1 answer
476 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 ...
dotnetmirror.com's user avatar
3 votes
1 answer
2k 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 "MyResource"...
SPBeginer's user avatar
  • 2,547
1 vote
1 answer
175 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 ...
user1167761's user avatar
0 votes
1 answer
147 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" Name="$Resources:SPNLMeetings,...
Luis Valencia's user avatar
6 votes
1 answer
604 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 ...
fejesjoco's user avatar
  • 135
0 votes
1 answer
795 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 ...
Shkipper's user avatar
  • 2,105
1 vote
1 answer
1k 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 runat="...
Shkipper's user avatar
  • 2,105
8 votes
1 answer
6k 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?
Tschareck's user avatar
  • 2,155
0 votes
0 answers
172 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. ...
ar.gorgin's user avatar
  • 1,238
4 votes
1 answer
1k 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 ...
Davy's user avatar
  • 480
2 votes
1 answer
563 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" ...
user1167761's user avatar
1 vote
1 answer
3k 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", &...
fallout's user avatar
  • 1,015
1 vote
3 answers
2k 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 ...
Meyer Denney's user avatar
  • 2,864