Diferenças entre edições de "Ficheiro:Flexpeacemeditation1.fxp"
(Jamesm uploaded a new version of "File:Flexpeacemeditation1.fxp": Bugs fixed: Friday 3rd May was incorrectly calculated as the next peace meditation.) |
|||
Linha 1: | Linha 1: | ||
− | Source code of the Peace Meditation Countdown application written in Adobe Flex Builder 4.5. | + | Source code of the Peace Meditation Countdown application written in Adobe Flash Builder 4.5. |
+ | |||
+ | Here are instructions on how to create a version of this application in another language, in this case, Polish. | ||
+ | |||
+ | Once the FXP file has been imported into Flash Builder, you can find the '''localizedContent.properties''' file which is under the "'''assets/locale/pl_PL'''" folder (within Flash Builder). To create the app in another language you need to find the locale code for your chosen language and create the folder under the folder "'''assets/locale/'''" named the same as the locale code and then create the '''localizedContent.properties''' file within that folder. | ||
+ | |||
+ | Translate and replace the words within the '''localizedContent.properties''' file then go to the '''Project menu > Properties > Flex Compiler > Additional Compiler Arguments''' and change "'''-locale en_US'''" to "'''-locale pl_PL'''" (or your chosen locale). | ||
+ | |||
+ | Then you should be able to compile it. | ||
+ | |||
+ | If you get an error message about it not being able to find the "locale" files when you try to compile it, then you may need to run "'''copylocale en_US pl_PL'''" from the command line, once, on your computer, but I suspect you already have the correct locale in your '''D:\Program Files\Adobe\Adobe Flash Builder 4.5\sdks\4.5.0\frameworks\locale''' folder. I followed the instructions in the section [http://oreilly.com/flex/excerpts/flex-4-cookbook/internationalization-accessibility-printing.html#use_a_resource_bundle_to_localize_an here] entitled "'''Use a Resource Bundle to Localize an Application'''" to localize this application. |
Revisão das 09h22min de 3 de maio de 2013
Source code of the Peace Meditation Countdown application written in Adobe Flash Builder 4.5.
Here are instructions on how to create a version of this application in another language, in this case, Polish.
Once the FXP file has been imported into Flash Builder, you can find the localizedContent.properties file which is under the "assets/locale/pl_PL" folder (within Flash Builder). To create the app in another language you need to find the locale code for your chosen language and create the folder under the folder "assets/locale/" named the same as the locale code and then create the localizedContent.properties file within that folder.
Translate and replace the words within the localizedContent.properties file then go to the Project menu > Properties > Flex Compiler > Additional Compiler Arguments and change "-locale en_US" to "-locale pl_PL" (or your chosen locale).
Then you should be able to compile it.
If you get an error message about it not being able to find the "locale" files when you try to compile it, then you may need to run "copylocale en_US pl_PL" from the command line, once, on your computer, but I suspect you already have the correct locale in your D:\Program Files\Adobe\Adobe Flash Builder 4.5\sdks\4.5.0\frameworks\locale folder. I followed the instructions in the section here entitled "Use a Resource Bundle to Localize an Application" to localize this application.
Histórico do ficheiro
Clique uma data e hora para ver o ficheiro tal como ele se encontrava nessa altura.
Data e hora | Dimensões | Utilizador | Comentário | |
---|---|---|---|---|
atual | 09h10min de 3 de maio de 2013 | (983 kB) | Jamesm (discussão | contribs) | Bugs fixed: Friday 3rd May was incorrectly calculated as the next peace meditation. |
00h52min de 17 de novembro de 2012 | (489 kB) | Jamesm (discussão | contribs) | Source code of the Peace Meditation Countdown application written in Adobe Flex Builder 4.5. |
Não pode substituir este ficheiro.
Utilização local do ficheiro
As seguintes 2 páginas usam este ficheiro: