Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Can strings in introContent be externalized?
Can strings in introContent be externalized? [message #1808557] Wed, 26 June 2019 19:41 Go to next message
Daniel FitzGerald is currently offline Daniel FitzGeraldFriend
Messages: 6
Registered: October 2016
Junior Member
I am working on externalizing strings used in an RCP application. I wanted to know if it was possible to externalize string values used inside an introContent XML file. For instance, is something the following code possible where overview.label and tutorial.label are externalized strings?

<?xml version="1.0" encoding="utf-8" ?>
	<!-- STANDBY PAGE  -->
	<page style="css/standby.css" id="standby">
		<group id="page-links-standby">
			<anchor id="beginAnchor" />
			<link label="%overview.label"
				<text>Provides information for the quick start.</text>
			<link label="%tutorial.label"
				<text> Offers several step-by-step tutorials for quick access.
			<anchor id="endAnchor" />
Re: Can strings in introContent be externalized? [message #1811021 is a reply to message #1808557] Fri, 23 August 2019 18:10 Go to previous message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 493
Registered: July 2009
Senior Member

I don't think you can. You have to create a fragment for each language that you want to support and do some search and replace magic yourself in your build process.

Previous Topic:RCP works in Eclipse fails after build
Next Topic:Fragment with resource
Goto Forum:

Current Time: Sat May 18 07:21:35 GMT 2024

Powered by FUDForum. Page generated in 0.02308 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top