CHUVASH.eu
  • About
  • Search
X GitHub
Multi-lingual "Last Modified" footer
Posts

Multi-lingual "Last Modified" footer

Anatoly Mironov

March 25, 2013

You want to show when a page is last modified? The label should, of course, work in multi-language environment. For MOSS, there is a great article about how to achieve this: Jamie McAllister. Building a multi-lingual ‘Last Modified’ Footer for MOSS. Here is a simple example for doing the same in SharePoint 2013:

<%@ Register
  TagPrefix='SharePointWebControls'
  Namespace='Microsoft.SharePoint.WebControls'
  Assembly='Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'
%>
<SharePointWebControls:EncodedLiteral
  runat='server'
  Text='<%$Resources:cms,pagesettings_modifieddate_label%>'
  EncodeMethod='HtmlEncode' />
:
<SharePointWebControls:DateTimeField
  runat="server"
  FieldName="Modified"
  ControlMode="Display" />

It fetches the localized value from cms.resx and puts it into your page as html.

  • Sharepoint
  • Sharepoint 2013

Related

  • REST API: Add a plain text file as an attachment to a list item
  • Error: Sorry, we're having trouble reaching the server
  • $ in cmssitemanager.js conflicts with $ in jQuery
  • SharePoint Modal Dialog as AngularJS directive
  • JavaScript Localization in SharePoint
  • AngularJS: prevent form validation in Page Edit Mode
  • PowerShell: Copy an entire document library from SharePoint 2007 to disk
  • Run web.config-dependant code in PowerShell
  • Create SPGroup in PowerShell
  • JSOM: Alter a column's DisplayName
  • Delete all list items with jsom
  • TypeScript in SharePoint
  • GeoLocation Field in SharePoint 2013
  • .tfignore - ".gitignore" for TFS
  • Paging with JSOM
© CHUVASH.eu 2026
X GitHub