We use Flash Pro CC creating animations with legends and export to html 5. We must translate the captions in other languages. How can we download translation of texts in our flash animations so we can use them in html5 using CreateJS?
We use Flash Pro CC creating animations with legends and export to html 5. We must translate the captions in other languages. How can we download translation of texts in our flash animations so we can use them in html5 using CreateJS? I use the Flash on a Mac OSX 10.10.3
Are you familiar with JavaScript?
It does not completely answer your question, but the text displayed on the screen from any language (ActionScript/CreateJS / [insert the programming language]) generally all following the same path. Each language has a file stored in some form of key = value style, named through the language and the country of your choice, for example en_US.json
Any language would allow the user to choose regional settings. The application would then grab the appropriate file and everywhere where the text is needed, the script must be using a (usually global or singleton) variable/service that can get the text of the requested key.
for example if I wanted a user to have a confirmation of dialogue who said 'are you sure?"with buttons for 'Yes' and 'No', I would have (for me), an Englishman, USA base file en_US.json with these values, for example:
en_US. JSON example:
{
'CONFIRM_YES_NO': ' are you sure?
'YES': '' Yes. ''
'NO': 'no '.
}
Then you use simply JS/AJAX to read this file. You analyze, or simply JSON decode in an object, or manually, depending on what suits your needs. When you want to display any text, you use the object (variable, maintenance, etc.) you have stored these values.
for example calling to display function confirm dialogue:
Nickname... but if you understand...
and this comes from jQuery UI (see here)
function confirmDialog() {}
$(«#dialog-confirmer»).dialog({)
Title: LocalizationObject ['CONFIRM_YES_NO'],
buttons:]
{
text: LocalizationObject ["YES"],
Click: function() {/ / do something for 'yes '.
}
{
text: LocalizationObject ["NO"],
Click: function() {/ / do something to the 'no '.
}
]
});
}
Please consider loosely. 'LocalizationObject' is a variable object or service that returns the appropriate text for the key that you provide. In this case, he provided the key 'CONFIRM_YES_NO', 'YES' and 'NO', which must be on the right answer for this key, localized.
Again, this is not a manual on how to do it via Flash Pro but it's the general conceptual way you could do it in any language. There are a variety of other ways to do it, but it's a very simple way, as long as you keep your key names at least wake up verbose. A key name such as LocalizationObject ["ABC123"] is not really tell you what the key can be referred. Also nest them contributes greatly, as LocalizationObject ["UI'] ['DIALOGUES'] ['CONFIRM'] ['YES_NO'] = ' are you sure? It just shows I nested the title of the dialog within the user interface, because it is the text that appears in the user interface rather than content. Then inside dialog boxes that may contain a variety of different dialog boxes. Then inside her CONFIRM type of dialogue. Finally, the type is a dialogue YES_NO type (as opposed to OK_CANCEL or JUST_OK, etc.). Whole set makes it easy to understand what the text of reading: UI YES_NO confirm DIALOG boxes.
I hope that from here you can see that you need to review everywhere you display text on the screen and centralize it in a sort of object (function or variable) of your choice. You must store the external language files to prevent unnecessarily load the other languages as well as an easy to modify Setup.
The rest is just using basic JavaScript.
Just be ready for the most difficult challenge. At least for me. The size of the text in several languages is very different, and in some cases requires the loading of special fonts. This can make layout in a very difficult dynamic environment. Always thinking all text how big or small can be in any particular and plan field on this size more and shrink so that to handle this situation correctly.
Tags: Adobe Animate
Similar Questions
-
When I design with Muse and export in HTML, Dreamweaver is not attached style sheets when I open files with Dreamweaver. Basically when I draw with Muse files do the same with Dreamweaver. Is this a bug? Workaround solutions?
Then you will need to install a local server and use live view. It is not that DW is not making it or is not endearing, it's this Muse has decided to use the treatment side server to include who is authorized to practice CMS when you combine the style sheets for better caching, but it is not really ideal for a single style sheet. It is a shortcoming of the Muse and one of the reasons why many professionals will return the product at present. That and you can't actually buy Muse, so unless you are on a subscription you haven't. It seeks to fill a void for those who do not want to invest in professional design like Fireworks, Photoshop or Dreamweaver tools, but want a cross between them to make drawings. If you have invested in the right subscription and want a better way to make models I highly recommend this coding yourself and using Fireworks or Photoshop to make the layout for you. There is an excellent tutorial on the devnet (3 pieces) to show you how its done ( http://www.adobe.com/devnet/dreamweaver/articles/dw_fw_css_pt1.html ). Once you start using Fireworks or Photoshop, you'll realize how limited Muse is in the design.
-
Original title: Everythinh went
My grandson unintentionally (I think) installed my original disc of Widows Vista and apparently followed all the guests was, as all before today disappeared. How can I restore back to where was before this...
Hello
A System Restore Point does NOT restore to a previous operating system Installation.
This is misinformation.
You don't say how Vista has been reinstalled.
Looking for a windows.old folder and if you find one, see if you can save your data from it.
"How to restore your personal files after performing an installation of Windows Vista or Windows 7"
http://support.Microsoft.com/kb/932912
If the above does not apply, you will need to use data recovery programs to recover your Date.
http://www.Piriform.com/Recuva
See you soon.
-
I was doing some photo editing and to my surprise some of my images are copied into the file of hundreds of times. How should I do
I was doing some photo editing and to my surprise some of my images are copied into the file of hundreds of times. How should I do
==============================================
Unwanted copies have file names with
copy "prefix of"?Example: Copy of IMG_1455.JPG
If_yes_maybe the following tutorial, I wrote
for XP offers a few ideas:Also... There is a link to another method
at the end of this tutorial.Here's how to reproduce the unwanted
copy of...Hold down your CTRL key and select multiple files...
Place your pointer over the selected group
(holding the key ctrl) and left click / drag
the group even just the slightest bit... now
release the mouse button.Oooops... multiple copies...
Maybe the following will help:
Sometimes most of the person who
trying to select multiple by holding the CTRL
or the SHIFT key down while clicking on the left to select the
image files.Copies are created when you are unable to
completely release the mouse button before
you move the pointer to another file. When a group
the selected file is dragged... even the slightest
release the mouse button will produce a bit...
copies of all the files previously highlighted.It's a little easier if you have your folder
Options set at single click... that way you can
select/deselect a file with just a mouse more
and you don't have to click. For multiples you
I have to keep... CTRL or Shift.Do not click on... no slip... no copy... maybe that of
your solution. To adjust the click...
Open a folder and go... Tools / folder
Options / General tab... Check... 'single click '.
To open an item"/ apply / OK.If you want to delete all the files in a folder
You can try the following:Reach... Edition / select all... or type... CTRL / has...
With all of the files selected... go... Drop / delete...
or press your delete key... or... click on the
Group and choose 'delete '.How do I find and remove unwanted 'copies '.
of your image files.Open the folder that the images are saved in and
on the left, click on the button 'Search' in your toolbar.(If you view the files from a montage
program and do not know where the record is... right
Click on one of the image files and the menu...
choose... Properties. The path to the folder will be
in the tab 'General' to 'Place').In the research pane select... "All files and folders".
In the "All or part of the file name" field. Come in...
a copy of
Now... on the left, click on the search"" button.
When the search is complete... go to... Edition / select all...
Then go to... Remove / delete.
You will see a dialog box asking if you are sure
you want to delete the files, click Yes.Now... on the left, click on the 'Back' button in your toolbar.
Now the remaining files should be your originals.
If you delete the wrong files... recover from
your basket now.Also see the following article:
Trouble fixing: stop Windows copy
Files accidentally when Ctrl-click selecting
http://www.howtogeek.com/HOWTO/Windows-Vista/fixing-annoyances-stop-Windows-from-copying-files-accidentally-when-CTRL-click-selecting/ -
I have an idea on the program application Adobe InDesign to increase the power of sale of Adobe InDesign, by adding an additional menu, with an additional menu that I hear more important for the future of printing.
How can I report directly to the developer indesingn adobe...!
You can create a feature here request:
-
try to restore information lost after the failure of the internet
try to restore information lost after the failure of the internet
Hey buceriasbev
try a restore of the system before this happened
http://www.windowsvistauserguide.com/system_restore.htm
If necessary do in safe mode
Windows Vista
Using the F8 method:
- Restart your computer.
- When the computer starts, you will see your computer hardware are listed. When you see this information begins to tap theF8 key repeatedly until you are presented with theBoot Options Advanced Windows Vista.
- Select the Safe Mode option with the arrow keys.
- Then press enter on your keyboard to start mode without failure of Vista.
- To start Windows, you'll be a typical logon screen. Connect to your computer and Vista goes into safe mode.
- Do whatever tasks you need and when you are done, reboot to return to normal mode.
and read this too
http://Windows.Microsoft.com/en-us/Windows-Vista/change-your-Internet-Explorer-home-page
Walter, the time zone traveller
-
Since I bought the applications 3 weeks ago I hurt constantly. All applications work for 1-2 days and then I get the '16' configuration error message and I can't run the software more. I've uninstalled and reinstalled everything for about 7 times now, with the help of support Adobe remote also. I'm working on Windows 10, I need a solution please, it's boring.
See the link below:
-
Change of the interface in Albanian language, how can I change it back to English?
Original title: help me! __
I installed the Albanian language interface in Windows 7 but not able to convert Windows 7 in English. Could you please help me in English back in my computer?
Hi mediaconsult,
I would suggest trying the following steps and check if it helps.
How to change the display language for Windows 7:
1. go to start-> Control Panel-> clock, language and region.
2. click on the region and language
3. set the language. Click OK.
http://Windows.Microsoft.com/en-us/Windows-Vista/change-the-display-language
Kind regards
Sandeep
Microsoft Answers Support Engineer
-
I bought the software adobe reader 10 online. Recently, I updated my software and I lost my access to tools. It seems that if I use a free version of the adobe reader software. How can I go back to my old version?
OK, you can still be installed. Check the start (Windows) menu or LaunchPad (Mac). If this isn't the case, you will need to reinstall with the media and the original serial number.
-
I bought an iphone 4 on ebay but it's locked, icloud so I am not able to use it, and the previous owner is available to remove the device from their account: How can I use the appliance?
You can not. Try to return the unit and get your money back. There is absolutely no way for you to unlock the device,
-
When I right click on a link 'Open link in a new tab"for a few days, he"jumps"tab to the right and opens in the tab beside it. How can I change this back to the opening in the tab next to the page, hence I open as it used to be?
Just to add to the response of cor - el, in my case (identical) was specifically the complement DivX HiQ, worm 2.1.0.900. As soon as I turned it off, the tabs started to behave normally again.
-
My use of the disc skipped dramatically. How can I see the use of the disc by folder or subfolder to see what happened?
Probably - system restore
System Restore: frequently asked questions
http://windowshelp.Microsoft.com/Windows/en-us/help/517d3b8e-3379-46C1-B479-05b30d6fb3f01033.mspx
TaurArian [MVP] 2005-2010 - Update Services -
I have two videos that I would like to combine. But the audio part of the second video is delayed, how can I change so that audio and Visual are equal. IM using windows live movie maker. Thank you
Hello hodginswill,
Thank you for visiting the website of Microsoft Windows Vista Community. The question you have posted is related to Movie Maker and would be better suited to the Windows Live community. Please visit the link below to find a community that will support what ask you:
-
I'm looking for a way to blur a face for about 8 seconds of a video of 20 minutes. When I use the mosaic, it is bluring in the same place throughout the 20-minute video. How can I add to the 8 seconds when the face appears? Thank you.
Razor the clip at the beginning of the second part 8 and at the end, and then apply the mosaic effect to the clip.
-
I changed my internet provider and so I have the new email address. How can I delete my old e-mail address and put them in a new in Outlook express? AND another problem, if I want to send pictures by e-mail... default .it my no more used by email, not allowing to send because I do not agree with them. Thank you
original title: outlook express
XP was the last version of Windows to use Outlook Express and that you are in a forum of Vista. Assuming that Windows Mail:Tools | Accounts and add the new address/provider and remove the old.Windows Mail: Setting up an account of end-to-end
http://Windows.Microsoft.com/en-us/Windows-Vista/Windows-mail-setting-up-an-account-from-start-to-finishOnce the old account is removed, your second issue must be without object.
Maybe you are looking for
-
Backup of files filled my D drive. Now what?
Play with my computer, I found something that says I need to back up my files that I made. However, it filled my disk (d :)) then said that failing because it doesn't have enough space to save all of my files.) Now I get messages that there is no mor
-
Upgrade Vista to Windows 7, need product key
I have a computer that was originally purchased with Windows Vista on it. I am now anting upgraded to Windows 7 and have a question before doing so. I bought a disc to upgrade to 7 through my University and the disk, it says that you need a product k
-
Layout and properties on the created dynamically containers
I want to show multiple rows of tiles (3 x 2 on portrait, 2 x 3 on the landscape or square screen). I have a ComponentDefintion for a line which is a container with StackLayout LeftToRight. To this, I add the tiles. And the ComponentDefintion of the
-
Recently, I changed my OS from windows 8 PRO for Windows 7 Ultimate. Due to a problem of drivers, but when I was with Windows 8, I encrypted my files and folders with certificate. But now I formatted my C: drive and files in other Ar encrypted Partit
-
By clicking on the image does not show in the links Panel
Has this changed?When I click on an image (within a framework of) the selected image used to be highlighted in the links Panel, so you can easily identify what image you are using.This does not happen on my version (v11.4.0.90). I guess this or has t