View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0022574LazarusIDEpublic2012-08-04 19:142012-08-12 22:51
ReporterSilvio Clécio (mantis doesn't notify me) 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityhave not tried
PlatformOSOS Version
Product VersionProduct Build 
Target VersionFixed in Version 
Summary0022574: IDE - Change language in the installation

1. For all countries, the setup option selected by default would be English;
2. If you change the language in the installation, the installer will call the IDE at least once with the parameter of translation (eg. --language=pt_BR);

See the suggestion here: [^]

See the start of the topic here: [^]

Tagsenvironmentoptions.xml, installer, Language
Fixed in Revision
Attached Filesdiff file icon DefaultEnglish.diff [^] (1,442 bytes) 2012-08-12 14:49 [Show Content]

- Relationships

-  Notes
Martin Friebe (manager)
2012-08-04 20:23

This would also change an existing installation (update). And the IDE knows more language, than the installer.

Also someone might install, with the intend to use the installation with a --primary-config-path= and calling the IDE from the installer would then access the wrong config.

IMHO, it will be better to put the
    <Language ID="xx"/>
into the environmentsoptions.xml in the install-dest-dir. This is used as template, if no config exists yet.
Martin Friebe (manager)
2012-08-07 03:20

Giving it some further thought. Having different installers on diff platforms will mean that using the installer for this, duplicates work and/or limits the feature to individual platforms.

Better to be implemented in the IDE, if no existing config is found the IDE could show such a dialog.

Alternative a language selection tool can be written. This can also be run on any platform. It could be started from the installer.
Swen Heinig (developer)
2012-08-07 11:17

I can't agree to the suggestion by Silvio. If a translation is available, it should be used.
geni (reporter)
2012-08-07 14:54

Language should be used.
otherwise, the whole work of translation was not used to anything.
Martin Friebe (manager)
2012-08-07 16:30

Please use the mailinglist for discussion and opinions
Reinier Olislagers (developer)
2012-08-12 14:48

@Martin Friebe 2012-08-04 20:23: having a <Language ID="xx"/> setting in the secondary config dir environmentoptions.xml seems to make sense:
- this setting can be enabled in the default/skeleton environmentoptions.xml with setting English
- installers can set/change this value based if a user tells it to
- existing configs in primary config dirs will not be changed... which is as it should be as the user has presumably already chosen/accepted a language.
- if this setting doesn't exist in the primary config environmentoptions.xml, the secondary one will be used -> default English. ok.

I hope the attached patch DefaultEnglish.xml fixes the environmentoptions.xml; Note: I could only find environmentoptions.xml in the Windows, Linux and OSX installer directories... if there's some meta-environmentoptions.xml in the source, I've missed it.

Of course, after applying this patch, the installers would need to be updated to allow changing these defaults (or accept that a user has to change the options via settings which would be less friendly)
Bart Broersma (developer)
2012-08-12 20:17

> Better to be implemented in the IDE, if no existing config is found the IDE
> could show such a dialog.

If we cannot implement it cross-platform in the installer, this would be a next-best solution IMO.
Maxim Ganetsky (developer)
2012-08-12 20:55

> If we cannot implement it cross-platform in the installer

This is plain impossible, because we don't have single cross-platform installer.
IMO this should be implemented in Initial Setup IDE dialog.
Martin Friebe (manager)
2012-08-12 22:51

There are still to many opinions. Using the bug tracker to discuss them is not the right option.

I started a topic on the mailing list. Please join there.

- Issue History
Date Modified Username Field Change
2012-08-04 19:14 Silvio Clécio (mantis doesn't notify me) New Issue
2012-08-04 19:18 Silvio Clécio (mantis doesn't notify me) Note Added: 0061420
2012-08-04 19:52 Maxim Ganetsky LazTarget => -
2012-08-04 19:52 Maxim Ganetsky Description Updated
2012-08-04 19:53 Maxim Ganetsky Note Deleted: 0061420
2012-08-04 20:23 Martin Friebe Note Added: 0061423
2012-08-07 03:20 Martin Friebe Note Added: 0061457
2012-08-07 11:17 Swen Heinig Note Added: 0061469
2012-08-07 14:54 geni Note Added: 0061480
2012-08-07 16:30 Martin Friebe Note Added: 0061483
2012-08-12 14:48 Reinier Olislagers Note Added: 0061590
2012-08-12 14:49 Reinier Olislagers File Added: DefaultEnglish.diff
2012-08-12 14:49 Reinier Olislagers Tag Attached: Language
2012-08-12 14:49 Reinier Olislagers Tag Attached: environmentoptions.xml
2012-08-12 14:49 Reinier Olislagers Tag Attached: installer
2012-08-12 20:17 Bart Broersma Note Added: 0061597
2012-08-12 20:55 Maxim Ganetsky Note Added: 0061599
2012-08-12 22:51 Martin Friebe Note Added: 0061604

MantisBT 1.2.12[^]
Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker