Insert date in different languages

Hello
This is a question about switching between English and French. I live in France and am quite fluent in French but I prefer to write in English if I can. My Mac preferences are set to 1. English 2. French.
I'm relatively new to Pages and I'm trying to set up letter templates in both English and French. For the latter I have selected all and specified Français in the Inspector Pane. This looks as if it will work, except it has no effect on the date, which I have put in using Insert Date and Time.
Is there a way to do this which I have not spotted in the User Manual, or will I have to resort to entering the date manually as text in every letter?
Thanks for any suggestions

Here is the announced script.
I dropped the enclosing asterisks so I may search more easily the location of the inserted date.
--[SCRIPT openAndInsertFrenchDate]
Enregistrer le script en tant que Script : openAndInsertFrenchDate.scpt
déplacer le fichier créé dans le dossier
<VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Pages:
Il vous faudra peut-être créer le dossier Pages et peut-être même le dossier Applications.
menu Scripts > Pages > openAndInsertFrenchDate
crée un nouveau document à partir du modèle personnel prédéfini
et remplace les mots "mytFakeDate" par la date en Français.
--=====
L'aide du Finder explique:
L'Utilitaire AppleScript permet d'activer le Menu des scripts :
Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
Cochez la case "Afficher le menu des scripts dans la barre de menus".
+++++++
Save the script as Script, Application or Application Bundle: openAndInsertFrenchDate.xxx
Move the newly created file into the folder:
<startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Pages:
Maybe you would have to create the folder Pages and even the folder Applications by yourself.
menu Scripts > Pages > openAndInsertFrenchDate
will create a new document from the defined user template
and replace every words "myFakeDate" by the date in French.
--=====
The Finder's Help explains:
To make the Script menu appear:
Open the AppleScript utility located in Applications/AppleScript.
Select the "Show Script Menu in menu bar" checkbox.
--=====
Yvan KOENIG (VALLAURIS, France)
2010/01/09
property theApp : "Pages"
property theMonths : {"janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre"}
property theDays : {"lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi", "dimanche"}
property balise : "myFakeDate" (* CAUTION? You may change it but, it MUST be a word *)
property avecNomJour : true
true : inserts the name of the day before the date
false : doesn't insert the name of the day before the date
--=====
on run
set p2myTemplate to my prepare()
set FrenchDate to my dateEnFrancais()
set UNTITLED_loc to my getLocalizedFrameWorksName(theApp, "Untitled")
tell application theApp
activate
try
close document UNTITLED_loc
end try
end tell -- theApp
tell application theApp
activate
open p2myTemplate
tell document 1
set n to count of words
repeat with P from n to 1 by -1
if word P is balise then set word P to FrenchDate
end repeat
end tell -- document
end tell -- theApp
end run
--=====
on dateEnFrancais()
local dd, francais, w, j
set dd to current date
set francais to "" & (day of dd) & space & item (month of dd as number) of theMonths & space & year of dd
if avecNomJour then
set w to (weekday of dd) as text
set w to text 1 thru 3 of w
repeat with j from 1 to 7
if w = item j of {"Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"} then
set w to item j of theDays
exit repeat
end if -- w = item j…
end repeat
set francais to w & space & francais
end if -- avecNomJour
return francais
end dateEnFrancais
--=====
on getLocalizedFrameWorksName(theApp, x)
local p2bndl
set p2bndl to (path to application support as text) & "iWork '09:Frameworks:SFApplication.framework:Versions:A:Resources:"
return my getLocalizedName(theApp, x, p2bndl)
end getLocalizedFrameWorksName
--=====
on getLocalizedName(aa, tt, ff)
tell application aa to return localized string tt from table "Localizable" in bundle file ff
end getLocalizedName
--=====
on prepare()
local d1, d2, customTemplateFolder
tell application theApp
set d1 to localized string "Templates" (* nom local du dossier "Modèles" *)
set d2 to localized string "My Templates" (* nom local du dossier "Mes Modèles" *)
end tell -- theApp
set customTemplateFolder to (((path to application support from user domain) as Unicode text) & "iWork:" & theApp & ":" & d1 & ":" & d2 & ":") as alias
return choose file default location customTemplateFolder without invisibles
end prepare
--=====
--[/SCRIPT]
Yvan KOENIG (VALLAURIS, France) samedi 9 janvier 2010 18:59:40

Similar Messages

  • How to insert  data from different internal  table  into a data base table

    hi all,
             I want to insert a particular field in an internal table to a field in a data base table.Note that the fields in the internal table and database table are not of the same name since i need to insert data from different internal tables.can some one tell me how to do this?
    in short i want to do something like the foll:
    INSERT  INTO ZMIS_CODES-CODE VALUE '1'.
    *INSERT INTO ZMIS_CODES-COL1 VALUE DATA_MTD-AUFNR .(zmis_codes is the db table and data_mtd is the int.table)

    REPORT  ZINSERT.
    tables kna1.
    data: itab LIKE KNA1.
    data lv_kUNAG LIKE KNA1-KUNNR.
    lv_kuNAG =  '0000010223'.
    ITAB-kuNNR = lv_kuNAG.
    ITAB-name1 = 'XYZ'.
    INSERT INTO KNA1 VALUES ITAB.
    IF SY-SUBRC = 0.
    WRITE:/ 'SUCCESS'.
    ELSE.
    WRITE:/ 'FAILED'.
    ENDIF.
    Here lv_kunag is ref to kna1 kunnr passed in different name
    In internal table .
    Try and let me know if this logic dint work.

  • Table which stores the dates in different languages.

    Hi experts,
    Do we have any table which stores dates in different languages
    like
    December in EN
    Dezemer in  DE.

    Hi,
    You may use T247 table for this getting the name of the month(LTX feild) as per the language specified.
    Rewards if useful,
    Regards,
    Saurabh

  • Store data in different Languages

    Hi,
    I have to display the same data in different languages like if japans user then there will Japanese Language and if India then English language for the same data.
    Is there any way for the same?
    Thanx.. Ratan

    Ratan,
    I dont think so , you have got that in a database ,rather the applications which your users should have the language compatibility.
    i.e the interface which has options of selcting languages and displaying the same for them.
    Sandeep Reddy Enti

  • Help needed to insert data from different database

    Hi ,
    I have a requirement where i need to fetch data from different database through database link .Depending on user request , the dblink needs to change and data from respective table from mentioned datbase has to be fetched and populated .Could i use execute immediate for this, would dblink work within execute immediate .If not , could pls let me know any other approach .

    What does "the dblink needs to change" mean?
    Are you trying to dynamically create database links at run-time? Or to point a query at one of a set of pre-established database links at run-time?
    Are you sure that you really need to get the data from the remote database in real time? Could you use materialized views/ Streams/ etc to move the data from the remote databases to the local database? That tends to be far more robust.
    Justin

  • Insert data in multiple languages

    Hi,
    How can I store data in multiple languages using SQL*plus.
    What setting do I need to make.
    NLS_CHARACTERSET
    WE8ISO8859P1
    mention the steps for the following.
    Thanks
    Jagriti
    null

    I recommend looking at the Globalization support FAQ at:
    (http://technet.oracle.com/products/oracle8i/)

  • Insert datas in different tables

    Hello i would like to understand how to insert in a table the value of the id of a record of another table just created!
    At the moment i use this code that works great but is just the insert of dats in two different tables:
    If (CStr(Request("MM_insert")) = "form2") Then
      If (Not MM_abortEdit) Then
        ' execute the insert
        Dim MM_editCmd
        Set MM_editCmd = Server.CreateObject ("ADODB.Command")
        MM_editCmd.ActiveConnection = MM_main_STRING
        MM_editCmd.CommandText = "INSERT INTO tCatalogo (Autore, Titolo)
    VALUES (?, ?)"
        MM_editCmd.Prepared = true
        MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param1",
    202, 1, 100, Request.Form("Autore")) ' adVarWChar
        MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param2",
    202, 1, 255, Request.Form("Titolo")) ' adVarWChar
        MM_editCmd.Execute
        'MM_editCmd.ActiveConnection.Close
             MM_editCmd.CommandText = "INSERT INTO tAutori (Nome, Cognome) VALUES
        MM_editCmd.Prepared = true
        MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param1",
    202, 1, 100, Request.Form("Autore")) ' adVarWChar
        MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param2",
    202, 1, 255, Request.Form("Titolo")) ' adVarWChar
        MM_editCmd.Execute
        MM_editCmd.ActiveConnection.Close
      End If
    End If
    Now i would like to insert in the second table the id of the record just created in the first table
    it's should be like this
    If (CStr(Request("MM_insert")) = "form2") Then
      If (Not MM_abortEdit) Then
        ' execute the insert
        Dim MM_editCmd
        Set MM_editCmd = Server.CreateObject ("ADODB.Command")
        MM_editCmd.ActiveConnection = MM_main_STRING
        MM_editCmd.CommandText = "INSERT INTO tCatalogo (Autore, Titolo)
    VALUES (?, ?)"
        MM_editCmd.Prepared = true
        MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param1",
    202, 1, 100, Request.Form("Autore")) ' adVarWChar
        MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param2",
    202, 1, 255, Request.Form("Titolo")) ' adVarWChar
        MM_editCmd.Execute
        'MM_editCmd.ActiveConnection.Close
    IF EVERITHIG OK, GIVE ME THE ID CREATED
             MM_editCmd.CommandText = "INSERT INTO tAutori (Nome, Cognome, ID)
    VALUES (?, ?)"
        MM_editCmd.Prepared = true
        MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param1",
    202, 1, 100, Request.Form("Autore")) ' adVarWChar
        MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param2",
    202, 1, 255, Request.Form("Titolo")) ' adVarWChar
    MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param2", 202,
    1, 255, ID JUST CREATED)' adVarWChar
        MM_editCmd.Execute
        MM_editCmd.ActiveConnection.Close
      End If
    End If
    thanks a lot
    franz

    Hi,
    Yea Adobe Developer toolbox does it in a wizard in ASP.
    You are in the Developer toolbox forum, I think you should repost your question in the standard dreamweaver forum.
    One thing you can do is create a recordset to query the database right after your first insert to get the number of the id to then place in your second query.
    But if your looking for code I would go to the other forum.
    Sorry.

  • How can I insert data in different table dynamically?

    I have one requirement ,In these  I have transaction table in which payLoad contain data like employee record,PO record,SO record  in XML format.Now I have transfer the data from transaction table to particular table(Emp,SO,PO) dynamical ? how can I do it.. Give me your suggestion guys?? Thanks in Advance

    Hello,
    Still no luck.I am surely doing silly mistakes.Anyway,Here are my workings-
    1> student_mst (id(pk),studentname) and student_guard_mst(id(fk),guardianname)
    2> created EO from both of the tables,made id in both EO as DBSequence and an association was also generated.
    3> i made that association composite by clicking the checkbox
    4> i created 2 VO from 2 EO.
    5> put those VO in Application Module.
    6> dragged and dropped 2 VO on my jspx page and dropped them as ADF Form.
    Now what to do please?

  • Read different language from the file and upload data

    Hi Expert,
    I am loading customer master data through BDC( trx-XD01) by reading a file from PC. The file contains customer data in different language like English, Chinese, and Japanese etc. However, when creating customer master data, only those data in English are able to create, as I am in English log on. The data in other language is showing garbage value. However, when I am logging in with that language (say Chinese) this time I am able to create customer for Chinese data but not for other.
    Can someone one help me to solve this problem – irrespective of language in the file and SAP log on, I should able create customer through my program.
    Thnx ,
    Deba
    Edited by: Debashis Mahunta on Feb 11, 2008 10:55 AM

    Hi Expert,
    I am loading customer master data through BDC( trx-XD01) by reading a file from PC. The file contains customer data in different language like English, Chinese, and Japanese etc. However, when creating customer master data, only those data in English are able to create, as I am in English log on. The data in other language is showing garbage value. However, when I am logging in with that language (say Chinese) this time I am able to create customer for Chinese data but not for other.
    Can someone one help me to solve this problem – irrespective of language in the file and SAP log on, I should able create customer through my program.
    Thnx ,
    Deba
    Edited by: Debashis Mahunta on Feb 11, 2008 10:55 AM

  • How can i use different language in Forms9i or 10g

    Hi,
    I want to use two languages at a time on forms9i.So i have Configured my NLS_LANG parameter on Form 9i by REGEDIT. and also install that others language setup by REGIONAL SETTING.After it on run time i am abled to insert
    data in other language and successfully saved it.BUT when i query that particular data they are showing me bug valuse.or like some currpt data.
    but when same configration,i use forms6i then form6i working well and retrieving
    fine data.as it is as i entered.
    plz Help me.
    i am worried about that issue.why form9i not returning fine data.
    Regards
    Mr.khan

    This is most likely due to a mismatch of the NLS_LANG you have on the client and the one you have for the database.
    Exactly what settings to do you have for the two?

  • Same column handling different languages

    This is more of a generic question.
    While creating a multilingual website which allows for data to be entered in multiple languages, there is an issue if this data in different languages starts to go into fields which have a primary/unique constraint then its integrity will be compromised.
    The DB is UTF8 compliant.There are lot of multiligual websites out there that might face similar problems.Whats the workaround for this.
    - Create another record for different language entry and link it to primary record which is in English.So lot of multilingual records for one main record.
    - Make columns language specific and control it trough front end making constrained columns with same language.Though with this it becomes a user usability issue in that user has to keep switching his keyboard language support.
    Any inputs would be extremely valuable.

    Hi,
    In the report query you can conditionally generate the links.
    Example.
    select
    case when status = 'schedule' then  '<a href="'||'f?p=&APP_ID.:150:&SESSION.::NO:150:P150_ITEM1,P150_ITEM2:'||
          value_for_item1||','||lvalue_for_item2||'">status </a>'
    when status = 'active' then  '<a href="'||'f?p=&APP_ID.:200:&SESSION.::NO:200:P200_ITEM1,P200_ITEM2:'||
          value_for_item1||','||lvalue_for_item2||'">status </a>'
    else status end column_title,
    ....Regards,
    Natarajan
    Edited by: Nattu on Mar 18, 2013 11:53 PM

  • Insert data from a table into 5 different tables

    My application has a data block than display information from another table. From this data block, the user has the option to select the records for upload. The information in the data block is used to insert data into 5 different tables. So if any exception occurs while inserting, the whole process should be rollback, but before this happen a record is inserting in a failed table indicated the reason of the failed.
    For this process I use the following commands:
    1.     sp_name := Get_Application_Property(SAVEPOINT_NAME);
    2.     INSERT DDL
    3.     INSERT DDL
    4.     INSERT DDL
    5.     INSERT DDL
    6.     INSERT DDL
    7.     If Other Exception then ISSUE_ROLLBACK(sp_name) Otherwise FORMS_DDL ('commit')
    The problem the previous insert(s) rollback
    Thanks,

    Hi,
    If you are using FORMS_DDL built-in to insert the data, then after each FORMS_DDL statement, you have to check the values of FORM_SUCCESS or FORM_FAILURE built-ins.
    FORMS_DDL('<insert_statement_1>');
    IF FORM_FAILURE THEN
    <the statement fails. so have to be rollbacked>
    END IF;
    FORMS_DDL('<insert_statement_2>');
    IF FORM_FAILURE THEN
    <the statement fails. so have to be rollbacked>
    END IF;Hope this helps.
    Regards,
    Manu.
    If my response or the response of another was helpful or Correct, please mark it accordingly

  • So I have just had my potentially duff hard drive replaced and uploaded my data from time machine to discover that pages is now speaking to me in a different language. The keyboard has been selected as UK during setup. How do I get back to qwerty?

    So I have just had my potentially duff 1Tb hard drive replaced by apple and uploaded my data from time machine only to discover that pages is now speaking to me in a different language. The keyboard has been selected as UK during setup. Any idea how I can get back to qwerty?

    roxandiv wrote:
    pages is now speaking to me in a different language.
    What exactly are you referring to?   Are the menus or templates for Pages in a different language?  Does something strange appear on the screen when you type?
    Could you perhaps use the Camera icon here to post a screenshot of what you are seeing?
    To make sure you have the right keyboard, go to system preferences/language & text/input sources and make sure that only the box for US or British is checked (and that the box for French or German or anything else is not checked).

  • Inserting data into a different characterset

    Hi,
    I have an oracle 10g database with WE8ISO8859P1 as the characterset.
    Now we are inserting data into the database with UTF-8 encoding.
    in this situation, will the data get converted to the WE8ISO8859P1 characterset or will the data get corrupted. will we lose the data since it is a different characterset.
    Please help me understand.
    Thanks.
    Philip.

    This is the document i will be following to do the conversion.
    Changing the NLS_CHARACTERSET to AL32UTF8 / UTF8 (Unicode) [ID 260192.1]
    But i don't see any steps for a RAC environment. The database is on a RAC with 2 nodes.
    I believe i have to bring down both the instances to get the database also down, and then i need to only bring one instance up, do the conversion, bring it down and then bring both the instances back up along with the database.
    Can someone tell me the additional steps i need to do in a RAC while doing the conversion.
    Thanks.

  • How to insert data coming from 2 different file adapters in to one DB adapt

    Hi
    i want insert data in to database containing two diffferent tables, so i imported tables in to DB adapter by creating relation ships.But, data for two tables are in xml format & two are in different locations.So, i used 2 file adapters to get data from 2 different & i used BPEL(Define service later) Service. now in bpel i used receive activity to receive one file adapter data ( i checked create instance in receive) then used transform activiy for tranformation & finally invoke activity to invoke DB adapteer........similarly i repeated sequetially to 2 file adapter, by keeping 2nd receive(no need to check create instance) next to invoke.*Problem is after deployment finished only data coming from 1st receive is inserting to the table...& 2 nd receive not working it showing as Pending & showing as Asynchronus Call back inte console*
    I configured all the adapters perfectly..........Can any one can help me how to Commit 2 nd receive to insert data in the 2nd table
    Regards,
    jay

    Thank u both for ur replay.........
    I am doing this in 11g there is no problem regarding transform activity.
    My requirement is
    two different files from two different folders in a drive & we can't use one file adapter bcoz both have different columns(only few are common columns) so we use two different xsd's .So, i am using two file adapters to insert in database having two different tables with respect to two different files data coming from two file adapters. i am using one DB adapter to insert bcoz both tables are in same database with relationships & i used BPEL(define service later) .
    NOW PLEASE SUGGEST ME THE FLOW IN BPEL TO INSERT BOTH FILES IN THERE RESPECTIVE TABLES IN DATABASE.
    The flow i did 1st file adater--->receive--->transform---->invoke----->DB adapter.....Then again repeating this as keeping 2nd receive below 1st invoke
    2nd file adapter-------->2nd receive---->2nd invoke------>same DB adapter
    MY problem is only data coming from 1st process is inserting & 2nd one is not working as i discussed earlier........I USED READ FILE OPTION, UNCHECKED DELETE FILES OPTION & SET DIFFERENT POLLING FREQUENCY FOR BOTH FILE ADAPTERS.
    I tried to set correlation but it is not working & later tried i kept non-blocking invoke as TRUE in DB adapter also didn't work...........also i tried this transaction property in bpel component _<property name="bpel.config.transaction"_
    many="false" type="xs:string">required / requiresNew</property>...............BUT NO CHANGE...........
    Regards,
    jay
    Edited by: 910162 on Apr 5, 2012 12:38 AM

Maybe you are looking for

  • Packing problem in STO

    Hello All, The problem is related to Packing process in case of Stock Transfer Order (STO).After making delivery while doing the packing procedure, in " Handling Unit " supplements 'Handling Unit Group 1' field is not getting populated automatically

  • Getting ora-00900 error when calling the procedure with the dynamic sql.

    create or replace procedure dyn_update(tab in varchar2,col in VARCHAR2) as BEGIN execute IMMEDIATE 'update'||tab||'set'||col||'= 0 where order_id=2458'; end; and when i call this procedure in sql developer or sql* plus using begin dyn_update('Orders'

  • Creating custom UI panels : where to start ?

    Hi, i've had a  hard time searching for clear information on how to create custom panels in InDesign. Maybe the wrong keywords, i dont know, but here i am I would like to create a panel displaying all the "text variables" and their actual values and

  • HT201316 what if my install disk does not run?

    I got a macbook used and I bought snow leopard o load as a new install but my mac will not load the new os? I can hear it run in the drive but then my system shoots the disk back out. What can I do? If anyone knows that would help me so much!

  • Converting menu images from PAL to NTSC

    I have to prepare an NTSC version of a PAL dvd project. I am firstly converting all the material, prior to building the dvd. One question though - I have used a lot of stills as menu backgrounds that were extracted from my PAL videos via the export s