I have two problems with my javafx application if I switch to fullscreen.
1) My application is completly written in english, and a language apart from english should never be supported. The FULLSCREEN-Message is displayed in german (my OS language). Can I change the language of this message for all Plattforms, no matter what language the user has?
2) The font-size is a way too big, can I change it via CSS? What css class selects this text?
Here is a screenshot to visualize my problem(s).
Thank you for reading =)
I don't think the message can be styled or disabled in JavaFX 2.2, see here.
For the language, use Locale.setDefault(...), if it does not interfere with other aspects of the application. If the langauage you set is supported, it will work (works for me on Windows 7 - Java 7 - JavaFX 2.2).
And to nag a bit: If I set Locale to GERMAN it does indeed display outside the box, just like your picture >:(
Related
I've created basic 2sxc app and now trying to translate it into russian.
I've started with translating labels for entity properties and translated all of them (and only them), leaving all other stuff like placeholders in the default "auto" state.
But then I try to open entity edit form, it displays the following message: "We have switched language to default en-us because it's missing some or all values". And displays all labels in english - as it says.
Is this an expected behavior? Maybe I miss some setting which affect it?
2sxc version is 11.4.0.
DNN version is 9.8.0.
Language pack for russian language for DNN is installed and working (though not 100% complete).
DNN UI language switching for other components are working as expected.
Both en-us and ru-ru languages are enabled in App Management/Languages.
2sxc extension itself is not translated into russian, AFAIK.
You probably started with a website where the initial content was added without a language specified. Because of this, the data has no language assigned - so when the form opens it has (default) content but doesn't have it saved in a way with a language assigned.
It should then just auto-assign the first language, but that has a bug which we haven't found time to fix yet. So for now, make sure you save the item once and then you should be able to edit additional languages for that item.
I have created a javafx application using javafx scene builder to design its interface, when i try to show some Persian or Arabic characters scene builder shows it in disorder mode, for example while i change a label's text to a Persian or Arabic word "اسم" it is writing in disorder mode (from left to right) like "م س ا" (without any space between the characters). I think maybe javafx scene builder doesn't support Persian or Arabic languages but i know there should be some way, so please help me how to do it.
Note: i just want to change the text of my label, button or some other control via double clicking on the control and change its text, so i haven't done any coding.
Kind Regards.
I faced with the same problem and after lots of search with my friend we solved the problem by using bdo tag.
سلام
For more information take a look at this:
http://www.robinlionheart.com/stds/html4/dir
We still have a problem with text inputs, and I was hoping if anybody could help.
Use a version of JavaFX with RTL support That is JavaFX 8 (included in JDK8).
I think maybe javafx scene builder doesn't support Persian or Arabic languages
Yes, this is currently correct.
Support for right to left writing won't be available in JavaFX (and consequently SceneBuilder as it is built on JavaFX), until the JDK8 release (currently scheduled for September, 2013).
You can make use of the SceneBuilder 1.1 early access previews, to see if the functionality has been added to a late development build. But, I don't think RTL support is in the current SceneBuilder 1.1 preview builds.
but i know there should be some way
I do not believe this will be possible until it is supported in the underlying platform.
Do you know any good application to create Windows 7 or Mac OS X style buttons?
Thanks
Most browsers will allow form controls to take on the appearance defined by the host operating system. E.g., Google Chrome on Windows 7 will give buttons a Windows 7 appearance, whilst on OS X they will have an Aqua-style appearance.
If you have a need to create your own control assets, then Photoshop or other image editing programs (Paint.NET is a good donation-ware tool) will be your friend here. I would suggest that you work out whether this actually needs to be completed, though; it's a lot of work, and it could end up providing your users with an experience inconsistent with their host OS (e.g., Aqua buttons in Windows).
The absolute best icon / button application I've seen is called Axialis IconWorkshop.
It's very easy to use and makes some rather nice looking buttons / icons.
We are currently working with Flex creating a web application. We are having trouble taking Arabic text from the user and displaying correctly (like in a chat feature). While presumably Flash 10 will solve this problem, we don't want to force our users to upgrade.
Flash flips the order of the sentence's words. so if I wrote something like "Hello World" in the text field, it will appear as "World Hello" in the chat area.
Is there a standard way to work with Right to Left languages in Flash?
*We currently flip the order of the words with a function, but it things get messed up when using English or special characters in the chat like :) or :D *
You may also want to check FlarabyAS3Flex here
This would appear to be a Unicode issue, and so a quick talaash via Google gave me Unicode in Flash, but probably more to the point is Flash: RTL (right-to-left), seeing as it mentions Arabic (along with other RTL languages) as well as RTL text output class for Flash.
HTH
you might want to try this:
http://www.red-id.com/blog/category/RTL-Flash.aspx
There is no decent way to support that. Anything you try will be a hack and will break for some cases. And definitely not work for editing.
I would say: ask the users to update.
The penetration of Player 10 is already above 90% in all markets (http://www.adobe.com/products/player_census/flashplayer/version_penetration.html).
And users can understand that you have no choice. It is "update or support for your language is abysmal".
here is an example for handling the text direction in flex.
I work on a collaboration web app, built with Flex 3, that needs to support multiple languages.
Does anyone know which fonts are best for creating embedded font libraries for Chinese, Korean, Japanese, and Russian languages? I know Arial Unicode MS will do the job, but I don't know if it will do the job best.
Localization alone won't solve the entire problem: chat input and display, for example, need to support multiple languages in the same textfield - anything typed in Chinese needs to display in Chinese; anything typed in English needs to display in English.
Using _sans is an option, but is far from preferred.
Thanks.
Went with an approach that switches TextFormat of characters based on unicode value. So, characters in the primary language display in the preferred (embedded) font, while characters in other languages display in _sans.
This works out really nicely, but requires that you inspect every character that is added to a field, and requires you to inspect everything when a deletion occurs. Kind of a lot of inspecting and I'm sure a textfield with a lot of content would start running into performance issues, but this is for a chat tool, so that isn't too critical of a use case.