If you are not sure if your site’s PHP, XSLT or Velocity scripts have been localized, follow these instructions. If any of the following scripts has been changed, the ARIA Landmark updates must be applied to each script.
PHP mobile navigation script
Go to _php/nav-mobile.php
.
Your script has not been localized if it is:
<?php include('1.x/nav-mobile.php')
If it does not match this script, go to nav-mobile.xsl.txt
. If the file includes the script below, it has not been localized.
'/ip/iuframe/php/1.x/'.'nav-mobile.xsl.txt';
If it does not include the above script, it has been localized and must be updated.
Update localized PHP mobile navigationPHP primary navigation
Go to _php/nav-primary.php
.
Your script has not been localized if it is:
<?php include('1.x/nav-primary.php')
If it does not match this script, go to nav-primary.xsl.txt
. If the file includes the script below, it has not been localized.
'/ip/iuframe/php/1.x/'.'nav-primary.xsl.txt';
If it does not include the above script, it has been localized and must be updated.
Update localized PHP primary navigationXSLT script
Go to _internal/xsl/Template
.
Your XSLT script has not been localized if it contains:
<xsl:import href="site://IU-FRAME-WEBS.common/xsl/1.x/Template"/>
If it has different code, it has been localized and must be updated.
Update localized XSLTCheck Velocity script for localization
Page/default
Go to _internal/velocity/Page/Default
.
Your code has not been localized if it contains:
#import('/_internal/velocity/Page/Imports')
#import('site://IU-FRAME-WEBS.common/velocity/1.x/Page/Default')
## Set page variables and common elements
#SetPageType()
## Render page content
#Banner()
#Notes()
## DEFAULT
#Default()
##
If it does not look like the code above, the code has been localized and must be updated.
Update localized page default scriptPage/Banner
Go to _internal/velocity/Page/Banner
.
Your script has not been localized if it contains:
#import('site://IU-FRAME-WEBS.common/velocity/1.x/Page/Banner')
If it does not have this script, it has been localized and must be updated.
Update localized banner scriptRegions/Nav - Mobile
Go to _internal/velocity/Regions/Navigation - Mobile
.
Your script has not been localized if it looks like:
##NAVIGATION Includes -
#import('site://IU-FRAME-WEBS.common/velocity/1.x/Regions/Navigation - Mobile')
If it does not have this script, it has been localized and must be updated.
Update localized mobile navigation scriptRegions/Nav - Primary
Go to _internal/velocity/Regions/Navigation - Primary
.
Your script has not been localized if it looks like:
##NAVIGATION Includes -
#import('site://IU-FRAME-WEBS.common/velocity/1.x/Regions/Navigation - Primary')
If it does not have this script, it has been localized and must be updated.
Update localized primary navigation scriptRegions/Site Title
Go to _internal/velocity/Regions/Site Title
.
Your script has not been localized if it looks like:
#import('/_internal/velocity/Page/Helpers')
#import('site://IU-FRAME-WEBS.common/velocity/1.x/Regions/Site Title')
## SITE TITLE OVERRIDE
#SiteTitle()
If it does not look like the script above, the script has been localized and must be updated.
Update localized site title scriptVelocity helpers
Go to _internal/velocity/Page/Helpers
.
Your script has not been localized, if it is:
#import('site://IU-FRAME-WEBS.common/velocity/1.x/Page/Helpers')
If it does not look like the code above, the script has been localized and must be updated.
Update localized helpers scriptVelocity includes
Go to _internal/Velocity/Region/Includes.
Your script has not been localized if it looks like the code below.
#import('/_internal/velocity/Page/Helpers')
## INCLUDE -
#import('site://IU-FRAME-WEBS.common/velocity/{version}/Regions/Includes')
## OVERRIDE
## INCLUDES MACRO that INCLUDES - FILE INCLUDES, BRAND INCLUDES, BELT
## TO ADD/REMOVE INCLUDES ADD/DELETE VALUES IN THE HELPER FUNCTION - GetFileIncludes,GetBrandAssets
## CHANGES TO INCLUDE FOLDER PATH - GetIncludesFolderPath
## CALL THE INCLUDES MACRO - TO INCLUDE BRANDING ASSETS, FILE ASSETS, BELT
#INCLUDES()
If it does not, the script has been localized and requires updating.
Apply updates to localized Includes script#import('/_internal/velocity/Page/Helpers')
## INCLUDE -
#import('/_internal/velocity/Version Switch')
#set($referenceRegionsIncludes = 'site://IU-FRAME-TEST.common/velocity/' + $versionNum + '/Regions/Includes')
#import($referenceRegionsIncludes)
## OVERRIDE
## INCLUDES MACRO that INCLUDES - FILE INCLUDES, BRAND INCLUDES, BELT
## TO ADD/REMOVE INCLUDES ADD/DELETE VALUES IN THE HELPER FUNCTION - GetFileIncludes,GetBrandAssets
## CHANGES TO INCLUDE FOLDER PATH - GetIncludesFolderPath
## CALL THE INCLUDES MACRO - TO INCLUDE BRANDING ASSETS, FILE ASSETS, BELT
#INCLUDES()