<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/tt/EnterpriseStudio/onlinemanual/trn_translate_resource_files" xml:lang="en" UserLevel="Expert">
	<Header>
		<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">To translate resource files</Title>
		<Keyword ContextSensitive="No"><Level1>Reporting</Level1>
			<Level2>translation</Level2>
		</Keyword>
		<Keyword ContextSensitive="No"><Level1>Reporting</Level1>
			<Level2>resource files</Level2>
		</Keyword>
		<Keyword ContextSensitive="No"><Level1>Reporting</Level1>
			<Level2>reports</Level2>
		</Keyword>
		<Keyword ContextSensitive="No"><Level1>Reporting</Level1>
			<Level2>
                                    Reporting Studio
                                 </Level2>
		</Keyword>
		<Keyword ContextSensitive="No"><Level1>Reporting</Level1>
			<Level2>homepages</Level2>
		</Keyword>
	</Header>
	<GeneralSection><List><ListIntro>Resource files contain language-dependent content of ERP LN homepages and query-based reports. Each resource file belongs to a particular homepage or query-based report. For example:</ListIntro>
			<ListItem>A resource file linked to a homepage, contains the homepage's title and the titles of the panes used in the homepage.</ListItem>
			<ListItem>A resource file linked to a query-based report contains the report title, column headings, chart titles, and other static labels used in the report. For more information, refer to <Link href="/baanerp/tt/EnterpriseStudio/onlinemanual/rpt_query_based_reporting" role="manual">Query-based Reporting</Link>.</ListItem>
		</List>
		<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
			<List><ListItem>Resource files do not contain language dependent ERP LN content such as label and message descriptions.</ListItem>
				<ListItem>Each resource file contains data for only one language. The homepages and reports developed by Infor are delivered with English resource files. To run these homepages and reports in other languages, you must translate the corresponding resource files.</ListItem>
				<ListItem>When a user opens a homepage or report, WebTop automatically downloads the corresponding resource file from the ERP LN server. WebTop automatically selects the resource file that corresponds to the user's language, as defined in the <GUIRef href="/baanerp/tt/aad/ttaad2500m000" role="session">User Data (ttaad2500m000)</GUIRef> session, so that the homepage or report is displayed in the user's own language. If there is no resource file for the user's language, WebTop downloads the original (English) resource file delivered with the homepage.</ListItem>
			</List>
		</Note>
	</GeneralSection>
	<ProcedureSection><SectionTitle>To translate resource files</SectionTitle>
		<ProcIntro><Paragraph class="Default">To translate a resource file, complete the following steps:</Paragraph>
		</ProcIntro>
		<Steps><Step><StepTitle>Export resource files</StepTitle>
				<ProcedureList><ListItem>Start the <GUIRef href="/baanerp/tt/adv/ttadv8913m000" role="session">Export Resource Files (ttadv8913m000)</GUIRef> session.</ListItem>
					<ListItem>Enter the required settings and export the resource files to a directory on the ERP LN server. The session generates an ASCII file for each exported resource file.</ListItem>
				</ProcedureList>
			</Step>
			<Step><StepTitle>Rename ASCII files</StepTitle>
				<Paragraph class="Default">The names of the generated ASCII files have the following structure:</Paragraph>
				<Paragraph class="Default"><Code>&lt;filename&gt;_&lt;ISO 639 language code&gt;_&lt;ISO 3166 country code&gt;.properties</Code>
				</Paragraph>
				<List><ListTitle>Note</ListTitle>
					<ListItem>The country code is optional and used for only a few languages.</ListItem>
					<ListItem>The language code of a report's resource file must be identical to the language code of the resource file of the homepage to which the report is linked. For details, refer to the <DocRef>Infor WebTop 8.5 - Installation and Configuration Guide (U8715 US)</DocRef>.</ListItem>
				</List>
				<Paragraph class="Default"></Paragraph>
				<Paragraph class="Default">Rename the ASCII files so they match the target language code and optionally the target country code. Ensure you use the correct ISO codes, because otherwise the WebTop cannot read the resource file at runtime.</Paragraph>
				<List><ListIntro>For example, the <GUIRef href="/baanerp/tt/adv/ttadv8913m000" role="session">Export Resource Files (ttadv8913m000)</GUIRef> session has generated the following ASCII file: <Code>bwhwmdwarehousemanagerhomepage_en.properties</Code>.</ListIntro>
					<ListItem>To translate the file into German, rename the file to <Code>bwhwmdwarehousemanagerhomepage_ <Emphasis>de</Emphasis>.properties</Code>.</ListItem>
					<ListItem>To translate the file into French, rename the file to <Code>bwhwmdwarehousemanagerhomepage_ <Emphasis>fr</Emphasis>.properties</Code>.</ListItem>
					<ListItem>To translate the file into Dutch, rename the file to <Code>bwhwmdwarehousemanagerhomepage_ <Emphasis>nl</Emphasis>.properties</Code>.</ListItem>
				</List>
			</Step>
			<Step><StepTitle>Translate content of ASCII files</StepTitle>
				<Paragraph class="Default">The ASCII files consist of lines with the following structure: <Code>resource ID=resource description</Code>. For example, the <Code>bwhwmdwarehousemanagerhomepage_en.properties</Code> file contains the following lines:</Paragraph>
				<CodeBlock space-and-orientation="indented-estimated">warehousemanagerhomepage.whinh2400m000=Warehouse Orders
warehousemanagerhomepage.whinh2100m000=Warehouse Orders
warehousemanagerhomepage.whinh4130m000=Create Shipments
warehousemanagerhomepage.workload=Warehouse Manager Tasks
warehousemanagerhomepage.Warehouse_Orders=Warehouse Orders
warehousemanagerhomepage.whinr1400m000=Inventory Transactions
warehousemanagerhomepage.whina1210m000=Inventory Valuation
</CodeBlock>
				<Paragraph class="Default">Translate the resource descriptions in the ASCII files (the text behind the "=" in each line) to the target language.</Paragraph>
			</Step>
			<Step><StepTitle>Import resource files</StepTitle>
				<ProcedureList><ListItem>Start the <GUIRef href="/baanerp/tt/adv/ttadv8923m000" role="session">Import Resource Files (ttadv8923m000)</GUIRef> session.</ListItem>
					<ListItem>Enter the required settings and import the translated ASCII files into a VRC in the ERP LN environment.</ListItem>
				</ProcedureList>
			</Step>
		</Steps>
	</ProcedureSection>
	<RelatedTopics><SectionTitle>
                                 Related topics
                              </SectionTitle>
		<RelTopic><Link href="/baanerp/tt/EnterpriseStudio/ERPLN_homepages/hpa_create_homepages" role="manual">To create ERP LN homepages</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/tt/EnterpriseStudio/ERPLN_homepages/hpa_homepages_introduction" role="manual">Homepages introduction</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/tt/EnterpriseStudio/onlinemanual/rpt_create_query_based_reports" role="manual">To create query-based reports</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/tt/EnterpriseStudio/onlinemanual/rpt_query_based_reporting" role="manual">Query-based Reporting</Link>
		</RelTopic>
	</RelatedTopics>
</ManualTopic>
