Re: Opinion about adding example project for locales use

2022-04-29 Thread Hugo Ferreira
Hi, Here the source code with 5 example of resources (2 languages as example) and 1 example of implementation: Interface: package { public interface ILanguage { [Bindable] function get LoginSignIn():String; [Bindable] function get LoginLockScreen():String; [Bindab

Re: Opinion about adding example project for locales use

2022-04-29 Thread Hugo Ferreira
Sure. Later I will commit an example of my implementation and let you know. Also, I have a macOS script that I intend to convert in a Windows/macOS form utility to facilitate the creation of the resources and I also can share that when the time comes. Maria Jose Esteve escreveu no dia sexta, 29

RE: Opinion about adding example project for locales use

2022-04-29 Thread Maria Jose Esteve
Perhaps we could enrich the Cristallium example with Hugo's implementation which is definitely interesting. Hugo, were you planning to share it completely? Hiedra -Mensaje original- De: Andrew Wetmore Enviado el: viernes, 29 de abril de 2022 13:08 Para: Apache Royale Development Asunt

Re: Opinion about adding example project for locales use

2022-04-29 Thread Andrew Wetmore
Yeah, the key thing for my apps is to be able to switch languages while working with the app, and having all the text fields display properly. On Fri, Apr 29, 2022 at 7:44 AM Hugo Ferreira wrote: > I'm also rewriting a Flex app to Royale and there are things that I just > decided to forget the F

Re: Opinion about adding example project for locales use

2022-04-29 Thread Hugo Ferreira
I'm also rewriting a Flex app to Royale and there are things that I just decided to forget the Flex way and embrace a Royale way. For localization (you may find a thread about it) I have an interface with all localization keys, several "as" files (each one for a specific language) that implements

RE: Opinion about adding example project for locales use

2022-04-29 Thread Maria Jose Esteve
I found it useful, I would add it. Let's let other members give their opinion... I can't tell you for sure but I think there have been several discussions on this topic (locale/resourceManager) on the list (Carlos, Alex, Josh,...) Hiedra -Mensaje original- De: cont...@cristallium.com E

Opinion about adding example project for locales use

2022-04-29 Thread contact
Hi, I had some difficulty using a Flex-like system for display text translation with Royale. So I made this working example which might be useful for peoples trying this. Could it be added in the examples ? What do you think ? https://github.com/apache/royale-asjs/pull/1191 Could you give

TileHorizontalLayout compute wrong margin-right in case of scroller (ignoring scrollbar width) (Issue #1193)

2022-04-29 Thread Maria Jose Esteve
Hi, I would like to get your opinion about the Cristallium PR: For THL to correctly calculate the internal width of the container you need to know if the vertical scroll bar is visible and if so deduct its width. It seems that obtaining this value, the scroll width, depends on the environment: -