Hi Darkstone,

There are three different en_US.properties files.

1) The Installer strings which affects what the Installer displays while
you select a release package and folder.  You have found that one posted
at: 
http://flex.apache.org/installer/properties/en_US.properties


2) The SDK install strings used for both Apache Ant installs and by the
Installer after you've selected the folder.  It is in each source release
and in Git.  Here it is under fisheye:
https://fisheye6.atlassian.com/browse/flex-sdk/installer.properties/en_US.p
roperties

3) The FlexJS install strings for both Apache Ant installs and by the
Installer after you've selected the folder.  It is in each source release
and in Git.  Here it is under fisheye:
https://fisheye6.atlassian.com/browse/flex-asjs/installer.properties/en_US.
properties

It is the latter two that you can rename to local.properties for testing.
To override where the SDK downloads swfobject, add a swfobject.url.server
entry to your local.properties file such as:
        swfobject.url.server=http://github.com/swfobject

Overridding the initial set of strings used by the Installer is a bit
tricker as I mentioned.

The SWFObject download from github has different packaging.  I did see a
notice that SWFObject intends to move its home to GitHub, so I will try to
adjust the build scripts to work with the new packaging.

Thanks for working on this.

-Alex


On 6/10/14 10:00 AM, "DarkStone" <darkst...@163.com> wrote:

>Hi Alex,
>
>I got most of what you said, just a few things to clear up, so correct me
>if
>I'm wrong:
>
>1. In order to make zh_CN.properties and zh_TW.properties, I have to get a
>latest en_US.properties to start with, can I just use this file?
>http://flex.apache.org/installer/properties/en_US.properties
>
>2. In order to test zh_CN.properties or zh_TW.properties in the final
>look,
>I have to rename one of them to local.properties, and place it in the Flex
>SDK destination folder, then test it on the UI, right?
>
>3. "That local.properties should affect where SWFObject is downloaded
>from,
>and all strings shown during the install after you accept licenses."
>Again, I can't find where to change the URLs of SWFObject and other
>dependency files, I look through the en_US.properties, and I don't know
>where to change those URLs, please enlighten me :)
>
>4. "You will have to create a similar .properties file for FlexJS as it
>downloads Google Closure from google as well."
>I don't know what you mean by a similar .properties file for FlexJS, is it
>not based on en_US.properties which I can translated with? Does FlexJS
>use a
>different .properties? If so, which .properties can I use for a template
>file in order to do the translations?
>
>5. Please have a look at this file from GitHub version SWFObject
>https://github.com/swfobject/swfobject/archive/master.zip
>I worry about whether the zip file is compatible with the Flex SDK
>Installer
>or not. If it's not compatible, can we just use
>https://github.com/apache/flex-sdk to provide the compatible SWFObject zip
>file?
>
>
>DarkStone
>2014-06-11
>
>
>
>--
>View this message in context:
>http://apache-flex-development.2333347.n4.nabble.com/DISCUSS-Release-Apach
>e-Flex-SDK-Installer-3-1-RC1-tp38126p38148.html
>Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply via email to