22851 Posts in 9874 Topics by 2804 members
General questions about getting started with SilverStripe that don't fit in any of the categories above.
|Go to End|
1 December 2009 at 4:33pm Last edited: 1 December 2009 4:39pm
Regarding my duplicate ticket about creating an i18n compatible installer, I translated almost all the strings of the install files today to en_US and nl_NL to see how far I could come to create a language selectable installer.
I successfully managed to install Silverstripe in Dutch.
This concerns a fully translated install procedure, admin user will be set to the selected Locale and the requireDefaults will be imported in the selected language.
I moved some files to a seperate install folder to keep the code together. All files in this folder can be removed after install.
I borrowed some code from the i18n class for a seperate Language translation class, to make it independed from Sapphire in case things are not supported. I uses _tr instead of _t function, to avoid conflicts with the Core _t during install.
The install process language is seperated from the final installation language, cause I only have 2 languages translated (I suck at most other languages...). The installer will try to recognize the browser setting for the initial language setting..
I think some things can be done better and I don't know how it works when it is being installed by the command line, but on my server It works like any other install.
I think this is a nice addition to Silverstripe.
And when the core devs want this to integrate, I would be happy to take this to a further level.
I can deliver a mulilang zip file for testing (seemed a little too big for the forum...).
2 December 2009 at 9:17am
Adding this files to SS 2.4 Alpha will run the Installer in English or Dutch (Other languages are Dummy files for testing, but you can let the installer use the core translations for requireDefaults and setting up Admin language). See readme, for more comments.
|Go to Top|