Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default Server Language

    Is there a CF function or variable, or a CGI variable that gives
    the CF server language ?

    plarts Guest

  2. Similar Questions and Discussions

    1. flex and server side language
      I wonder if Flex can integrate with MsSql through a server side language such ASP or ASP.net. If it does, can someone provide a link that explain...
    2. Possible to have more then one server model language?
      Hi there, I am going to be using webassist's ecart to setup an online store for a client. however this extension does not offer the ability to...
    3. #25051 [Opn->WFx]: translating between gettext language identifiers and 'Accept-Language' ones
      ID: 25051 Updated by: sniper@php.net Reported By: wouter at grep dot be -Status: Open +Status: Wont...
    4. #25051 [NEW]: translating between gettext language identifiers and 'Accept-Language' ones
      From: wouter at grep dot be Operating system: irrelevant PHP version: Irrelevant PHP Bug Type: Feature/Change Request Bug...
    5. Wrong language for controls on server
      For Page set culture property For Application look at webconfig globalization section "Andy T" <atromans@gamesbymail.co.uk> wrote in message...
  3. #2

    Default Re: Server Language

    what do you mean by server "language"? as in part of it's locale? getLocale()
    will return the current locale for the server, you can parse it out from that.
    or if you want more you could so something like:



    defaultLanguage=createObject("java","java.util.Loc ale").getDefault().getDisplayL
    anguage();

    --- or ---


    defaultLanguage=createObject("java","java.util.Loc ale").getDefault().getLanguage
    ();

    the 1st snippedt would return "English" for en_US server while teh 2nd would
    return the 2-letter ISO code, "en".

    PaulH Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139