Re: German translation during the installation of the software?

Hussein Shafie <[email protected]> Mon, 14 Oct 2024 16:32:48 +0200
Newsgroups gmane.editors.xxe.general
Message-ID <[email protected]>
Tony C. wrote:
> 
> Is it possible to provide the German translation of XML Mind XML Editor automatically after or during the installation of the software?

I see two ways to achieve that.

--> First, most obvious, method: create you own installer for that.

Here's how it can be done:

1) Unpack a stock XMLmind XML Editor distribution, for example unzip

https://www.xmlmind.com/xmleditor/_download/xxe-perso-10_9_0.zip

inside C:\temp\

This gives you :

C:\temp\xxe-perso-10_9_0\

2) Download

https://www.xmlmind.com/xmleditor/_usercontrib/de_translation-240824083426310/de_translation.zip

(See "User-contributed Add-ons", 
https://www.xmlmind.com/xmleditor/_usercontrib/index.shtml)

Unzip it inside:

C:\temp\xxe-perso-10_9_0\addon\

This gives you:

C:\temp\xxe-perso-10_9_0\addon\de_translation\

3) Optionally you may want to also download

https://www.xmlmind.com/xmleditor/_download/de_dictionary-10_9_0.zip

our German (Deutsch) dictionary, and also unzip it inside:

C:\temp\xxe-perso-10_9_0\addon\

4) Run

C:\temp\xxe-perso-10_9_0\bin\xxe

and check, either on a computer having a German locale or by forcing 
this German locale using Options|Preferences, General section,  Locale 
combobox 
(https://www.xmlmind.com/xmleditor/_distrib/doc/help/generalOptions.html), 
that you have (a) a German UI (b) a German dictionary (The "Check 
Spelling" dialog box, 
https://www.xmlmind.com/xmleditor/_distrib/doc/help/checkSpellingDialog.html).

5) Create you own software distribution.

The simplest software distribution being a .zip file, suffice to zip the 
C:\temp\xxe-perso-10_9_0\ folder as follows:

---
C:\> cd temp

C:>\temp\> zip -r xxe-perso-10_9_0.zip xxe-perso-10_9_0
---

(This idea is to have folder xxe-perso-10_9_0\ as the topmost entry of 
the zip file.)

What's described above works fine

- with Professional Edition, which is basically identical to Personal 
Edition,

- in the case you want to create a setup.exe for use on Windows. However 
it's more complicated if you want to create a .dmg for use on the Mac.



--> Second method requires you to control the work environment of all 
XMLmind XML Editor users.

1) Download

https://www.xmlmind.com/xmleditor/_usercontrib/de_translation-240824083426310/de_translation.zip

(See "User-contributed Add-ons", 
https://www.xmlmind.com/xmleditor/_usercontrib/index.shtml)

Unzip it inside a *shared* *folder* which can be accessed by all XMLmind 
XML Editor users, for example:

Z:\xxe_addon\de_translation\

2) Make sure that all XMLmind XML Editor users have the following 
environment variable set:

set XXE_ADDON_PATH=Z:\xxe_addon;+

More information in 
https://www.xmlmind.com/xmleditor/_distrib/doc/help/environment_variables.html

3) Instruct all XMLmind XML Editor users to disable the Quick Start 
cache (uncheck the "Quick Start cache" checkbox; see 
https://www.xmlmind.com/xmleditor/_distrib/doc/help/advancedOptions.html#quickStartCache). 
This is done once for all and will survive XMLmind XML Editor upgrades.



--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support