Peace Be Upon You - Have Arabic, would like more languages.

This code was available at my former physci.org site, & will soon be available again on my new site. It shows Arabic for "Peace be upon you".
I was wondering if anyone could provide translations (with appropriate glyph changes) for other languages (Manchurian, German, Hindi, ..Tanu Tuvan)?
BTW - I am not sure if this actually falls under the 'Integrationalization' group, but I figure the right people are listening.
import javax.swing.*;
import java.awt.*;
/** "Peace Be Upon You", "Aslam Alykm' to which the common
reply is "Wa alaykum as salaam", "And upon you, peace".
Information obtained from the document
http://www.unicode.org/charts/PDF/U0600.pdf
Copyright © 1991-2003 Unicode, Inc. All rights reserved.
Arabic is written and read from right to left.
This source is adapted from the original 'Peace'
source written by mromarkhan ("Peace be unto you").
@author Omar Khan
@author Andrew Thompson
@version 2004-05-31 */
public class JArabicInUnicode extends JFrame {
  /** Unicode constant used in this example. */
  public final static String
    ALEF= "\u0627",
    LAM= "\u0644",
    SEEN= "\u0633",
    MEEM= "\u0645",
    AIN= "\u0639",
    YEH= "\u064A",
    KAF= "\u0643",
    HEH= "\u0647";
  /** An array of the letters that spell 'Aslam Alykm'. */
  String text[] = {
      ALEF, //a
      LAM + SEEN, //s
      LAM, //l
      ALEF, //a
      MEEM, //m
      AIN, //a
      LAM, //l
      YEH, //y
      KAF, //k
      MEEM //m
  /** Displays the letters of the phrase 'Aslam Alykm'
  as well as the words spelt out letter by letter. */
  public JArabicInUnicode() {
    super("Peace be upon you");
    JTextArea textwod= new JTextArea(7,10);
    textwod.setEditable(false);
    textwod.setFont(new Font("null",Font.PLAIN,22));
    String EOL = System.getProperty("line.separator";);
    // write the phrase to the text area
    textwod.append( getCharacters() + EOL );
    // now spell it, one letter at a time
    for (int ii=0; ii<=text.length; ii++) {
      textwod.append( getCharacters(ii) + EOL );
    textwod.setCaretPosition(0);
    getContentPane().add(
      new JScrollPane(textwod,
        ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED,
        ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED),
        BorderLayout.CENTER);
    pack();
    setMinimumSize( getPreferredSize() );
    try {
      setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
      setLocationRelativeTo(null);
    } catch (Exception e) { }  // allows to run under 1.2
  /** Get a string of the entire phrase. */
  String getCharacters() {
    return getCharacters( text.length );
  /** Get a string of the 1st 'num' characters of the phrase. */
  String getCharacters(int num) {
    StringBuffer sb = new StringBuffer();
    for (int ii=1; ii<num; ii++) {
      sb.append( text[ii] );
    return sb.toString();
  /** Instantiate an ArabicInUnicode frame. */
  public static void main(String [] args) {
    new JArabicInUnicode().setVisible(true);
{code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

DrClap wrote:
AndrewThompson64 wrote:
I'd like to see if I can get a couple more languages before I try to rely on Google translate - which I do not entirely trust.But you trust responses from random strangers on the Internet? Not to impugn anything that has been posted so far, but that isn't a good strategy either.Interesting points. Though I would consider the following two factors put the 'strangers on the internet' ahead of Google translate.
1) The text is open for public scrutiny/correction.
2) The poster (supposedly) has a reputation to uphold, if only in their own mind. The thought of being corrected in public, gives a keen motivation not to stuff up in the first place, hopefully. ;)
On the side of Google translate, is that these translation services get better all the time, especially with the engine encouraging users to submit a better translation.
Actually, now I think about it, it seems 'six of one, half a dozen of the other'. So yes, your point is valid - neither source is necessarily better.
In any case, this thread has just about run the extra week I requested of the mods, so it seems time to 'wrap it up'.
Thanks to all contributors.

Similar Messages

  • Hi-i just installed "lion" and have"ilife09"would like to upgrade to ilife 11 is there a "package that has g/band, iPhoto

    hi-i just installed "lion" and have"ilife09"would like to upgrade to ilife 11 is there a "package that has g/band, iPhoto & i movie-all in one as a complete upgrade(and is it cheaper in a "package")  or do i have to install each one three separately?

    Aarrggghhhh, you in Australia, gotcha!
    Merchandise prices are in U$D on all links I posted.
    Amazon does shipping globally - see more here for AU shipping rates (in U$D)
    http://www.amazon.com/Apple-MC623Z-A-iLife-11/dp/B003XKRZES/ref=sr_1_1?ie=UTF8&q id=1311468383&sr=8-1
    You can sign up for an account with them, being the largest online retailer in the world, they take all major credit cards and/or PayPal account as well.
    If I were you, Id do some research on Australian online stores for iLife package before going with Amazon, maybe you could find it cheaper there. But given the bad shape the US Dollar has been in, you might also get a better deal with Amazon, because U$D is so dirt cheap these days!
    I got my iLife 11 on Amazon. I buy Apple hardware on Apple's refurbished store, parts on OWC, and software on Amazon

  • HT4847 if you purchase $20 for 10GB for yr do you get 10more GB every year it renews or do you have to buy even more if you use it all?

    if you purchase $20 for 10GB for yr do you get 10more GB every year it renews or do you have to buy even more if you use it all?

    What a completely worthless reply. But that's your MO. Furthermore, what type of phone makes no difference when you read LG's response below.
    Anyway, Verizon does not care or they would have responded to my support request by now so they are going to lose my extra $10 a month for the service starting today.. LG did respond, and blames Verizon.  Here's LG's response:
    ------Reply to Your Inquiry-------
    Dear xxx
    I do apologize for any inconvenience this issue may have caused you.
    It seems that this is an issue with the Verizon Family Locator app. Their support forums show many customers having problems with the app on several different model phones.
    Please feel free to contact us if you have any additional questions or concerns. Thank you again for contacting LG Electronics.
    Jason F
    << Edited to remove personal information >>
    Message was edited by: Verizon Moderator

  • I bought two films - they appear in my purchased areas on mac and ipad. on ipad it says "you have purchased would you like to buy again" on mac "you have not purchased" ???

    I havent seen these movies - feel cheated as my understanding is once purchased they could be downloaded and watched on any device. Any ideas who i can contact?
    I have read some posts that say "this is normal" - in my experience I have been able to download all purchased fulms on any device any time, this is from longtime use of air apple tv iphone ipad.

    Hi edward,
    I would say that you definitely need to contact iTunes Support on this. Here is the link:
    http://www.apple.com/support/itunes/contact/
    Select the options that best apply to your issue. You will be given an opportunity to provide a written description before you submit. Once you have submitted, iTunes support will contact you via email, usually within 24 hours. They will undoubtedly be able to resolve your issue one way or the other!
    If you haven't heard back within 48 hours, check your junk email box to see if the email is there. I had to contact iTunes support recently, and I heard back from them early the next day after I submitted my issue....
    Cheers,
    GB

  • I would like more than 10 recent items.

    File > Open Recent Files> has 10 items in it, max. I would like to make this perhaps 20. Can't find a dialog in prefs.
    Illustrator CS 4 Mac, OS 10.5. Is there any way to do this? (Can't upgrade this PPC machine to CS5.)

    You can customise it by editing the AI Prefs file.
    Inside the file, search for /maxRecentFiles 10 and change 10 to what you like.

  • Possible Drive Controller Failure? Would like more informed opinions please

    I normally work on PC's but had a client approach me to work on a MacBook. It's a Core 2 Duo Intel hardware etc..He complained of dead battery, DVD stuck in drive, and no boot. The unit will power on with the AC adaptor plugged in and will boot to a Mac OSX install disk. Initially when I got it I booted to a Tiger install disk and ran disk utility. Found a 160GB drive that had 2 volumes on it. 1 was mountable, the other not. Tried running repair and verify on both the drive and the volume. Error I got referenced an underlying failure. I figured drive was dead or on the way. Booted into single user mode and played with some Unix commands. Still could not mount drive. So..I popped the 160GB out and popped in a 60GB known good HDD. I formatted the 60GB on my PC with NTFS. Booted to Tiger disk..Not recognized. Hmm...Used MacDrive 8 to format disk to HFS+ on my PC and popper it back in. Still doesd not recognize. Drive Utility does not even see the drive. Nor does System Profiler. At this point I just would like to know if I am looking at a failed drive controller (it is STA) or what. The DVD is not hanging off the SATA controller. It is ATA and I am not sure if the board has a dedicated chip for ATA or if it hanhgs off the SouthBridge. Any help or insight would be greatly appreciated...

    Just an idea: If you can group - on the screen - the components that "come and go", then you might be able to position them in an individual panel, and make that alternatively visible and invisible. That would eliminate doing a whole lot of monkeying with component locations at runtime.

  • Eras Medium ITC not a font option in FF 18.0.2 like most browsers. It was, and now you have reverted. Like to discus this.

    I have the Latest version of Chrome, Opera, IE9 and FF 18.0.2. Firefox in the previous two editions or more finally began to have a font option for each of the various Eras ITC fonts (Medium, Bold, Demi, whatever), like the other browsers above. Then, in 18.0.2, I believe, it reverted to the issue I answered for another user here (in the way back...):
    https://support.mozilla.org/en-US/questions/868220?esab=a&as=aaq ...a now closed thread, in that it reverted to listing only "Eras ITC" as an option.
    I can fix this in my style sheets so it would render in FF by using this code:
    body {font-family: "Eras Medium ITC", "Eras ITC", Arial, Verdana, sans-serif ;}
    so in the above code I am "solving" my question as far as how to *work* with the way FF "defines" fonts for webmasters and viewers of websites, etc. but...
    The question is why would the FF developers "break ranks" on something like this with the other browsers (after fixing it) and revert to the the way they were when they made "Eras ITC" the only option available to render font. If I take out the "Eras ITC" from the above style-sheet code, FF will render this as Arial. This was not true in the last two (I think) versions where the "fixed" FF defined fonts the way other browsers on Windows do. I had to do this before with two of my sites, then I didn't need to because FF "fixed" its singular way of defining fonts, and now I do again. So please quit doing that, FF, eh?
    I hope this makes sense and can be discussed a bit. And it not, at least the code above may be a solution to those webmaster who choose or have been told to use this font on their site(s).
    Regards,
    Axis

    And now with FF 19 it is back to listing the Eras Light, Medium, Demi, Bold, etc. This is better as it is the same as all the previously mentioned browsers. Thanks you FF and please quit switching. Thanks!

  • Firefox 4 is not for me as it is; lost all my toolbars and just could not get on with it and have had to go backe to 3.6.16; let me know when you have made version 4 more friendly

    Downloaded version 4. Lost my toolbars, back button et.c Home button in the wrong place and could not move it and without requesting it I ended up with Yahoo which I did not want. How do I download Firefox 4 and keep all my toolbars as they were, at present is seems to be a very unfriendly upgrade?
    John S

    I have the same problem. It was literally snuck in as a simple update and suddenly I couldn't upload any of my assignments. You can get rid of 7 by going to control panel and removing the Mozilla file. then look for the FF 6 upload. I warn you though. It REALLY wants to be 7. Don't allow any updates to happen or you will be in the same position.
    I like Firefox and it is truly disappointing that they would force this situation. My nest step is back to IE 8 which wants to be 9. Arghh!

  • If you have no electricity for more than 8 hrs you have no phone with Fios

    No one told me that when I gave up my copper line for FIOs that when the electricity goes off for more than eight hours I would have no phone service.  Usually, if the electricity went off I would just plug in one of the old phones with a cord and still have access to telephone service.  Not so with FIOs.  Cell phone service in this area isn't reliable either, especially if there are too many people trying to call out at the same time.  It is not a good product for someone who may need EMS service in a secluded area.  If I had known this, I would have kept my DSL, FIOs is not any faster when others are on line using it.

    Maybe you were not around for the installation of your FIOS when the installer put the battery backup in your garage. Note there is an emergency button on the battery backup that you can push to get an additional 5 hours of phone calls. In my case the welcome kit that I was given also provided directions on how to enable the extra 5 hours of phone support.
    Also I've DSL speeds are typically in the 1-7 Mbit speed while my with a 384/768 upload. My Fios gives me consistent 20 megs down and 5 up which is way faster then DSL.
    Good luck!

  • How do you say it? Like "multi language only in the black level/plate"

    hello, I'm trying to find the best words to describe a feature of our new database publishing solution.
    The features is called: CMY+nK
    You need it when you are really committed to savings in a large print job.
    With http://pagination.com you can easily plan the production of your multilanguage documents as a process unifying a single batch print of the color plates (CMY) and one black plate for each language (nK). In this case, the reduced number of plates and the lower portion of time the operators in the print shop spend switching plates and handling the paper generate savings.
    Do you think these words are clear, or do you refer to the topic with other words?

    What you are describing is “versioning” by use of language-dependent content on the K (black) plate, typically implemented in PDF by use of layers in both your original content as well as in your generated PDF. The first pass you print CMY only. The second pass you print K-only for both the common layer (always on) and the particular version or edition you want, in your example that being based on language. This is a fairly common print practice. However, it requires extreme discipline in the layout of your source document.
            - Dov

  • I have an iPad 2 and would like to know how to download photos on iPad to an external memory card for printing purposes

    I have an iPad 2 and have quite a lot of photos stored on the device. I would like to be able to download them onto an SD Card or a memory stick which would then allow me to go to a print shop and print out some hard copy prints of the photos I require.
    I have seen some devices on the interent such as an iPad comera connector but this just seem to allow photos to be uploaded from a camera or an SD card to the iPad and not the reverse which I am trying to do.
    I realise I can print them myself via AirPrint, but I would like more professional copies for a photo album I am compiling.
    I am sure this should be quite a simple exercise but would like some advice on how to do this from the community.
    Hoping you can help.
    Regards
    peterfromamble

    open app and sign in or open settings and sign in.   only works between apple devises with ios 5 or newer or the latest version of snow leopard.  advantages over skype is much more reliable.

  • Immediately see what versions of sites you have created upon opening your site in Muse

    When you open one of your sites in Muse, you go right to the planning screen.  My screen defaults to the DESKTOP view.  I would love a way that we could see a quick section...maybe split the main screen into thirds from top to bottom where you can see a quick view of your DESKTOP version, your TABLET version and your PHONE version if you have all three created.
    I thought of this just now because there was an important link on my client's website that needed changed.  I made the change, and then minutes later, I remembered that I had recently also done a TABLET version for my client too and I had completely forgotten about it.  So I went back in to Muse, clicked on the TABLET tab and changed the link there as well. 
    As it is now, the only way I can tell that I have done a different version is because the plus mark is gone before the word on the tab.  Even changing the color of the tabs for the versions you HAVE created would maybe help jog someone's memory not to forget to update the other version as well.

    Or, how about this:
    Does anyone know how to have Edge Animate objects that utilize "_top" in an open url trigger make the Muse site that they are a part of open a new window/tab with that action (as opposed to having it open the url in the current page, or using "_blank" in the trigger)?

  • Hello, I just bought macbook air - and now would like to give my granddaughter my old mac book. I've deleted all my documents, photos, but am unsure how to empty my iTunes music.  All my stuff is now on my new computer and I do not want to lose my music!

    Now that I bought my new MAc Book Air - if I empty my music from my old computer will I lose all my music on my new computer - ipod etc...
    My granddaughter is waiting in the wings to get my old in great shape mac book!  thanks

    if I empty my music from my old computer will I lose all my music on my new computer - ipod etc...
    No. Be sure you have transferred the entire contents of your old /Home/Music/ folder.
    Create a new user account on your old computer. Have your granddaughter tell you what she would like the username to be and what password she wants. Be sure to set the new account with Administrative authority. Then log into this new account and delete your old account.

  • I would  like to know about structure,cell editor .

    i would  like to know about structure,cell editor .

    Hi satish ,
    structure is used to creat a set of rows and calumns values.
    for example,
    if you palce char1 in rows and key1 and key 2 in coloums ,
    if you want to reuse these you can place the selection in structures and can reuse making them as global structures.
    regarding cell defination once you have two active structures i.e., one characteristic structure and key figure structure,
    than you can get the "cell editor in menu bar of Query designer next "table" option.
    Just go throw the below description.
    cell defination will be activated once you have two structures.
    if you want use the same characteristic in two structures, you can do that one in cell.
    Just go throw with below description.
    You can use any cell that you define in a formula. If you want to reuse the value from the implicit, generic cell definition that is automatically created at the intersection of the two structural components of a query, select this cell in the Cell screen area and, using the secondary mouse button, choose New Cell Reference. A description taken from the two structural components now automatically appears in the cell. The symbol shows you that a cell reference exists for this exception cell. Now you can reference this cell. You can continue to use the implicit cell definition and do not have to manually generate this value using a new selection.
    Functions of explicitly defined cells:
    Select a defined cell and choose the required function from the context menu (secondary mouse button).
    &#9679; Edit
    &#9679; Cut
    &#9679; Copy
    &#9679; Paste
    &#9679; Remove
    &#9679; Where-Used List
    Before you delete a cell, you can check for the formulas in which the defined cell is used in the where-used list.
    You reach the properties of a defined cell by selecting the defined cell. In the Properties screen area you can also make changes such as:
    &#9679; Changing the description of the cell
    &#9679; Changing the highlighting of the cell
    &#9679; Hiding the cell ( if you do not want to see the values of the cell)
    Help cells
    In the Help Cells area you can define additional cells for help selections or help formulas. You can use the functions New Selection and New Formula in the context menu to define help cells that are not displayed in the query to serve only as objects for help selections and help formulas.
    For example, you can define an invoice in a help cell and use this in a “real” cell to calculate a duplicated invoice.
    a. Using the secondary mouse button, click on the empty cell next to Help Cells to reach the context menu. From here, choose New Selection.
    b.Use Drag&Drop to drag the Invoice key figure into the right-hand Details of the Selection area.
    c. Enter a description.
    d. Choose OK. The cell contains the description of the selection. The symbol shows you that a selection exists for this exception cell.
    e. Now choose New Formula from the context menu of the required cell of the query. The new formula that is not yet defined appears in the cell.
    f. Select the new formula and choose Edit from the context menu.
    g. Use Drag&Drop to drag the cell you have just defined, which you can find in the Available Operands window under Cells, into the Detail View window. Click on the button twice.
    h. Enter a description.
    i. Choose OK. The cell contains the description of the formula. The symbol shows you that a formula exists for this exception cell.
    Result
    You have defined one or more exception cells for a query.
    Regards,
    shailaja

  • Banned, I would like to know why

    A moderator / administrator assistance would be appreciated, thank you. My account name is [Skype name removed for privacy]

    Yep, you don't get banned for no reason. The fact that all three of your accounts have been banned means you have definitely been up to no good on a large scale. If all have been banned, you were either doing something you shouldn't on each of those profiles, or you have done something like modded your console.  There's no point living in denial, you've been busted and you just need to stop playing innocent and accept the punishment you've been given. Sony don't actively monitor these forums, and they wouldn't discuss this kind of thing on an open forum any way, so the only thing you're going to get here is 'It's your own fault' from the community. 

Maybe you are looking for

  • Embedding HTML page into Flex using Adobe AIR

    Hi, This is Siva Kumar. Need help in embedding an HTML in Flex . We are using Adobe Air. To embed an HTML in Flex we used <mx:HTML> tag. Its working fine but whts the problem is its not allowing to download files / attachements. I tried to use google

  • Problem with displaying "\n" in notepad

    Hi, I wonder if anyone had this kinda problem before and knows how to fix it I tried both with FileWriter or RandomAccessFile For FileWriter, I write FileWriter file = new FileWriter("output.txt"); file.write("test\ntest\ntest");For RandomAccessFile,

  • Pacman timeout on sync with new install (in vm)

    When I try to pacman -Sy in a brand new Arch install inside of a VM, it times out at every mirror. I get: Error: failed retrieving file 'core.db.tar.gz' from archlinux.unixheads.org : Connection timed out then more messages for each mirror it tries I

  • 2LIS_12_VCITM

    HI SDN Guru, I am Activating BI Content in Transfer Rules I am getting following error. But this Datasource available in 400 Client, But still I am getting this error. DataSource 2LIS_12_VCITM does not exist in source system GQACLNT400 of version A C

  • How to automate a search within portal and subscribe to the result

    Hello all, I need to check websites regularly for various corruptions. I do this using TREX 's capacity to index the chosen websites to a specific index I can then search in for the required information. I would like to automate this procedure and su