Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 22nd, 2024, 7:10 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Multilingual Windows App
PostPosted: August 9th, 2016, 12:53 pm 
Offline

Joined: May 25th, 2008, 4:57 pm
Posts: 355
Location: Ireland
Opus: Pro 9.75
OS: Windows 10
System: MacBook Pro (Intel 2020)
Hi All,

Does anyone have tips for making a multilingual Opus Publication?

Currently I am considering adding all the text to an Access DB and then having a crazy amount of variables in the publication and loading each from the Excel on page load.

Anyone have a better method for doing this?

Thanks, Luke

_________________
Opus Pro 9.75 on MacBookPro (2020 Intel) running Parallels 19 with Windows 10 (x64)


For this message lmc has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Multilingual Windows App
PostPosted: August 9th, 2016, 7:04 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Hi Luke,

That depends on exactly what you're trying build and just how crazy complex you want to build :-)

1. At a simpler level, and depending on the amount of data you're storing - I find INI files a better way of managing multiple configurations. One language in each file, and just change the path for selection.

2. Then you've got Databases and Excel which are better for large sources of data but are probably more difficult to set-up.

3. You can use standard text files - but the lack of organisation of the data can make if difficult to manage the data.

4. Those who don't want or can't use data sources, the time consuming alternative is multiple versions of the publication.

5. Internal lists - IE setting configurations within an Opus Script object - are a possible balance between 1 - 4.

Then once you have picked your data source, you have the different options for assigning the data:

1. Direct to variable - which generally means one variable at a time - myLoadButton = DataSource.loadButtonValue

2. Looped by array - which means knowing which array element is used on what object - myButtons[x] = DataSource.loadButtonValue

3. OPP - which involves assigning the data source direct to an object - FindChild(DataSource.loadButtonName) = DataSource.loadButtonValue

This last method can also be used with cloning to add values to clone objects.

</mack>

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


For this message mackavi has been thanked by : lmc


Top
 Profile Visit website  
 
 Post subject: Re: Multilingual Windows App
PostPosted: August 12th, 2016, 5:06 pm 
Offline

Joined: May 25th, 2008, 4:57 pm
Posts: 355
Location: Ireland
Opus: Pro 9.75
OS: Windows 10
System: MacBook Pro (Intel 2020)
Thanks Mack,

I will take a look, I am leaning toward using an Access DB as I am already with this publication so easier to add an additional table for each language.

Assigning the data, hmm, I'll see what works best.

Thanks again, Luke

_________________
Opus Pro 9.75 on MacBookPro (2020 Intel) running Parallels 19 with Windows 10 (x64)


For this message lmc has been thanked by : mackavi


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group