How to use FM OmegaT processed XML files?
How to convert files in XML (or any other file format that supports the file format that can be used in T Omega) FM so that it can be imported into the translation software open source OmegaT?
I have a use [Save as] create an XML file, an error message appears when I try to import in Omega T and but I'm unable to translate the file.
I am trying to use XML files for translation into Omega T, is because in the past, the person who is in charge of editing the file FM would create a text file with sentences to be translated. I would then import the text file in OmegaT to translate and send the text file with the phrases translated to the editor. This could then be edited in a file of FM.
It would not be a problem if the content to be translated was small. But in some cases there is a large amount of content that must be translated which would take more time to change the FM files.
What I want to know is if I could use a file format that can be used in Omega T and then be able to convert this file to FM without the Publisher re - edit the file.
Concerning
Denjiba-manual
With regard to the function "Save as XML" in FrameMaker:
You may know that in FrameMaker, you can work with 'structured' and regular documents.
When you use "Save as XML" with a document ordinary FM, the resulting XML is simply an output format and are not suitable for reopening in FM. You can translate the XML resulting, but once you return to the FM file, you need to reapply the formatting and the initial numbers back into place. (At least this is what I know of FM8.)
Otherwise, when you work with an application of structure in FM, you can save documents structured FM in XML format for editing. This means, you can change (translate) the XML document outside FM and open the (translated) XML file published in FM.
OmegaT regarding:
I see two ways of translating a document of FM with OmegaT. For both, you will need the Okapi Framework to convert your files into an intermediate format.
One way requires that your document is a document structured in FM, you can save in XML format for editing. The XML document has probably none of the types of documents that can be translated immediately OmegaT. You can, however, use a utility of the framework of the Okapi to extract translatable text in the XML document in a XLIFF file. Later, you can merge the translated text in the original XML file, which you can bring in FM.
The other way is similar, but starts with an of FrameMaker MIF file. In this case, regardless of whether or not the document of FM is structured. Of course, there is a MIF Filter for the frame of the Okapi, which allows you to extract the translatable text of MIF in an XLIFF file. Just like above, you can later merge the translated text in the original MIF file. However, the MIF Filter is in beta state, so don't expect it to work perfectly.
More on the Okapi Framework can be found at http://okapi.opentag.com.
All that being said, I only played a bit with OmegaT and Okapi. At work, I use an old version of Trados.
Johannes
Tags: Adobe FrameMaker
Similar Questions
-
How to insert data in the XML file?
Hi guys,.
How to insert information into an XML file. I tell you, I have a CFM file with some questions to the user
When users submit this form within the form information is send in an XML file.
How can insert this information in the XML file?
When I don't have a DB?
Thank you
Kind regards
Fabiano Magno Pechibella
You must
- Read in the XML file
- Analyze the document in an XML (just one big struct) object
- Insert your XML code of the object where you need
- rewrite the XML file with your data now included
You can Google 'ColdFusion working with XML' and find hundreds of items to help you. Here's a beginning tutorial to help you get started:
-
How to use an install.xpi configuration file to configure email data
Manual installation of my e-mail account failed because Thunderbird search my domain name and is not in its database. If my webhost gave me a file of automatic configuration for Thunderbird for my e-mail, called install.xpi - account but how to use this file? I can't double-click them in Windows to do anything. Thunderbird program, he wants to create a new account, but I can't do anything else in it as importing files.
How to use the install.xpi file so it creates my e-mail account with the appropriate configuration variables? Thanks for your help.
Launch Thunderbird, close the wizard, goto the Add-ons, select Tools menu (alt + T)
There is a small button to the left of the search window. Click this button and select install module file and navigate to your xpi file, select it and you leave.
-
How to use the ota installation cod file
Using the webworks platform, we have the standard and ota install files, I need to know how the cod in the ota installation file can be used.
Put the web in an accessible location OTA files and point the browser on your phone to the URL.
That is to say.
If you download the OTA cod files in a directory named "/ ota/appname" on your server web you acceding to http://your-url.ca/ota/appname/cod-name.cod in the BlackBerry browser to install the application
Rory
-
How to validate and transform large xml files (180 M)
Hello:
I was looking at different ways to do it with oracle and am a bit lost in the sea of the documentation and the different ways to go about this. I was hoping that something like the XMLParser and XMLTransform class would be smart enough to handle large files using SAX, when it takes, but I'm getting "too many knots" when attempting to transform a very large file. (I've gotten oraxsl to cope if I pass in the parameters memory clean on the command line but a) which will always limits and b) I tried to do it in a procedure stored that (I think) means I'm looking at XMLParser?
I also seen documentation on what is called 'Scalable DOM' but I think it's only in 11g? So I think that I have to write a (Java?) procedure to make a loop on the main elements of this XML file stored (select extract (...)), and then transform each node?
I have the XML, XSD, XSLT and while clob columns. What is the easy/more shortest path within Oracle to validate the XML with the xsd and translate source XML with XSL?
I use Oracle 10 g on Linux RH 2.
Thank you.I have the XML, XSD, XSLT and while clob columns.
The complexity is the transformation?
It is perhaps interesting to try and store your documents as object-relational XML, to create relational views and apply the transformation using XQuery or SQL/XML functions.
-
How can I recover the index.xml file?
I can't open a document Pages I've recently worked on. I get this message: I can't open a document, I worked on. I get the message: the requested index.xml file is missing. What should I do? Thank you, Miriam
You have two versions of Pages on your Mac and tried to open an incompatible v5 Pages document, while the Pages ' 09 still worked. You simply leave the Pages ' 09 (the purple ink bottle icon) and then double-click on the same document for it to open correctly in your version of Pages v5 (yellow paper with the pencil icon).
-
How to put back an exported xml file
Hello
I want to export a xml file, but well indented. Could you help me?
I found this 'http://forums.adobe.com/thread/1323539?tstart=0' in our forum, but I want to apply to the prettyPrinting at the exportfile.
To help you, the lines at the end of my script:
" myCont = myWorkFolder + ' / ' + myExportNameFile + '_' + myPageName.threedigit () +"_"+ myArticle.threeDigit () + '." Cont.XML';
myFileCont = new file (myCont);
xmlElement.exportFile (ExportFormat.xml, myFileCont, false); ".
Thank you
The other thread was on the E4X XML class included in Extendscript. You may have about the export of the InDesign structure XML document. It's confusing, but the two things have nothing in common.
To get what you want, I would apply a transform during export. See http://news.oreilly.com/2008/07/simple-pretty-printing-with-xs.html for a sample .xsl file (that you define in document.xmlExportPreferences.transformFilename, see http://jongware.mit.edu/idcs6js/pc_XMLExportPreference.html )
Jeff
-
How to use ODIOUTFILE to generate a file with the specified permission.
The syntax will be if I want to use ODIOUTFILE to genreate a file under Linux with permissio to owner and group writing reading?
Thank youGood to know who works!
Be sure to check the answer himself as correct or useful if it helps you...
Cezar Santos
http://odiexperts.com -
How to use mxf with Premiere elements files?
Any ideas on how to use my canon xf100 with elements .mxf? In addition, I don't see a setting in menu when I start a project?
-
How to remove an xmltype table .xml file?
Hi expert,
I'm in I'm in Oracle Enterprise Manager 11 g 11.2.0.1.0.
SQL * more: Production of release 11.2.0.1.0 killed him Feb 22 11:40:23 2011
I inserted 3 .xml files in an xmltype table: DOCUMENT
SQL > SELECT OBJECT_VALUE FROM document;
OBJECT_VALUE
-----------------------------------------------------------------------
<? XML version = "1.0" encoding = "WINDOWS-1252"? >
<? XML-stylesheet href = "http://www.accessdata.fda.gov/spl/stylesheet/spl.xsl" type = "text/xsl"? >
< document xmlns = "" urn: hl7 - org:v3 "xmlns: xsi ="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLoc"
action = "" urn: hl7 - org:v3 http://localhost:8080/home/DEV/xsd/spl.xsd ' classCode 'DOC' = > "
< root id = "5ca4e3cb-7298-4948-8cc2-58e71ad32694" / >
< code = c '51725-0.
<? XML version = "1.0" encoding = "WINDOWS-1252"? >
<? XML-stylesheet href = "http://www.accessdata.fda.gov/spl/stylesheet/spl.xsl" type = "text/xsl"? >
< document xmlns = "" urn: hl7 - org:v3 "xmlns: xsi ="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLoc"
action = "" urn: hl7 - org:v3 http://localhost:8080/home/DEV/xsd/spl.xsd ' classCode 'DOC' = > "
< root id = "03d6a2cd-fdda-4fe1-865d-da0db9212f34" / >
< code = c '51725-0.
<? XML version = "1.0" encoding = "WINDOWS-1252"? >
<? XML-stylesheet href = "http://www.accessdata.fda.gov/spl/stylesheet/spl.xsl" type = "text/xsl"? >
< document xmlns = "" urn: hl7 - org:v3 "xmlns: xsi ="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLoc"
action = "" urn: hl7 - org:v3 http://localhost:8080/home/DEV/xsd/spl.xsd ' classCode 'DOC' = > "
< root id = "09ff06d6-8b85-43dd-b5cc-e22d00f02bd0" / >
< code = c '51725-0.
I tried to remove an xml file which with root id = "03d6a2cd-fdda-4fe1-865d-da0db9212f34'"
delete the document
where xmlexists (' $p/document/id [@root = "03d6a2cd-fdda-4fe1-865d-da0db9212f34"]' in PASSING OBJECT_VALUE AS "p");
but failed.
Y at - it that can help any expert?
Thank you very much!
Cow
Published by: cow on March 11, 2011 19:02Hello
Namespace problem.
You must declare it in the XQuery Prolog:DELETE FROM document WHERE XMLExists( 'declare default element namespace "urn:hl7-org:v3"; (::) $p/document/id[@root=$root_value]' passing object_value as "p", '03d6a2cd-fdda-4fe1-865d-da0db9212f34' as "root_value" ) ;
-
How to display records from the xml file
Hi all
I created a region his area of research in reality
with 5 elements and array of result area
I want to search records based on the 5 elements and want to view output table
I have the table name as hr_api_transactions, which contains many columns
and also, this table contains a column
name TRANSACTION_DOCUMENT of type CLOB()
that files xml columns for each record
I want to extract data from this xml file and want to display.Instance of the view - put the name of VO with which you are extracting data
Discover the attribute and the attribute of file View - could see attribute by which you found the content of the file
File name substitution - is not mandatory, let him
The MIME type of the file: do not place anything, need to better manage programmatically through. Put the code in the below processRequest() method
OADataBoundValueViewObject contentBoundValue = new OADataBoundValueViewObject(downloadBean, "FileContentType"); // here "downloadBean" is bean of message Download item downloadBean.setAttributeValue(FILE_CONTENT_TYPE, contentBoundValue);
-Anand
-
How can I load and process a file of HTML5 with Javascript in the same way as an XML file?
I keep a journal in local files of the weeklies that I'm converting to HTML5 of XHTML. I want to extract all 'items' on specific themes of these files and display them in different orders. It is possible to load an XHTML file using the loadXMLDoc function described in http://www.w3schools.com/dom/dom_loadxmldoc.asp , but the same function detects a parse error when it reads a file of HTML5. (For example, the parser expects that the tag of the element one empty end with / >). How to persuade 16.0.1 Firefox to use a proper parser?
A good place to ask for advice on web development is to the 'Web Standards Development/evangelism' MozillaZine forum.
Aid to this forum are better informed on issues related to web development.
You must register on MozillaZine forum site to post in this forum. -
How to use the date of the file, when you download a file?
Using the basics of 12 c, APEX 5.0 and IE11
I am creating a file upload feature for my application. I'm able to get the uploadé file in my table, but one of my requirements is that I fill in a value in the table with the "file date".
Is there an easy way to get the "file date" in the file being downloaded and fill a field for all records with this date?
Tillie
Tillie says:
Using the basics of 12 c, APEX 5.0 and IE11
I am creating a file upload feature for my application. I'm able to get the uploadé file in my table, but one of my requirements is that I fill in a value in the table with the "file date".
Is there an easy way to get the "file date" in the file being downloaded and fill a field for all records with this date?
That depends on your definition of 'easy '...
The HTML5
File
interface can be used to access date in browsers supportthe file was last modified.1. Add a hidden page that contains the file download point (P6_FILE_DATE in this example).
2. create a dynamic action of change on the file upload question (P6_FILE):
Event: Change
Selection type: Agenda
Region:
Real Actions
Action: Run the JavaScript Code
Fire on Page load: NO.
Code
console.log('Get file modification date:') var fileItem = $x('P6_FILE'); if (window.File) { if (fileItem.files.length > 0) { var file = fileItem.files[0]; if (typeof file.lastModifiedDate !== 'undefined') { console.log('...lastModifiedDate for file \"' + file.name + '\": ' + file.lastModifiedDate); apex.item('P6_FILE_DATE').setValue(file.lastModifiedDate); } else { console.log('...browser does not support the HTML5 File lastModifiedDate property.'); } } } else { console.log('...browser does not support the HTML5 File interface.'); }
If the browser has support for the
File
interface andlastModifiedDate
property, the date, the file was last modified will be presented in the P6_FILE_DATE article in the form:Fri Jul 17 2015 10:43:44 GMT+0100 (GMT Daylight Time)
You can analyze and convert your data load process to obtain a TIMESTAMP or DATE value according to the needs.
-
How to insert rows from an xml file in a table
IM Using Oracle 11g, is show below error when I run...
declare
charString varchar2 (80);
finalStr varchar2 (400): = null;
whole rowsp;
v_FileHandle UTL_FILE. TYPE_DE_FICHIER;
Start
-the name of the table specified in our DTD
xmlgen.setRowsetTag ('Zipcodes');
-the name of the data set as shown in our DTD
xmlgen.setRowTag ('mappings');
-to get the result on the screen
dbms_output. Enable (100000);
-Open the XML document in read-only mode
v_FileHandle: = utl_file.fopen (TMP_DIR1,'XML_NEW_CITIES.) XML', 'r');
loop
BEGIN
UTL_FILE.get_line (v_FileHandle, charString);
exception
When no_data_found then
UTL_FILE.fclose (v_FileHandle);
"exit";
END;
dbms_output.put_line (charstring);
If finalStr is not null then
finalStr: = finalStr | charString;
on the other
finalStr: = charString.
end if;
end loop;
-for the insertion of XML data in the table
rowsp: = xmlgen.insertXML('SYS.) Codes POSTAL, finalStr);
dbms_output.put_line ('INSERT FACT' |) To_char (rowsp));
xmlgen.resetOptions;
end;
/
XML_NEW_CITIES. XML is
<? XML version = "1.0"? >
< zip codes >
< Record mappings = "4" >
CA < STATE_ABBREVIATION > < / STATE_ABBREVIATION >
< ZIPCODE > 94301 < / code >
< CITY > Palo Alto < / CITY >
< / maps >
< Record mappings = "5" >
< STATE_ABBREVIATION > CO < / STATE_ABBREVIATION >
< ZIPCODE > 80323 < / code >
< ZIP_CODE_EXTN > 9277 < / ZIP_CODE_EXTN >
Boulder < CITY > < / CITY >
< / maps >
< / zip codes >
Error report:
ORA-06550: line 8, column 3:
PLS-00201: identifier ' XMLGEN. SETROWSETTAG' must be declared
ORA-06550: line 8, column 3:
PL/SQL: Statement ignored
ORA-06550: line 10, column 3:
PLS-00201: identifier ' XMLGEN. SETROWTAG' must be declared
ORA-06550: line 10, column 3:
PL/SQL: Statement ignored
ORA-06550: line 14, column 34:
PLS-00201: identifier 'TMP_DIR1' must be declared.
ORA-06550: line 14, column 3:
PL/SQL: Statement ignored
ORA-06550: line 31, column 12:
PLS-00201: identifier ' XMLGEN. INSERTXML' must be declared
ORA-06550: line 31, column 3:
PL/SQL: Statement ignored
ORA-06550: line 33, column 3:
PLS-00201: identifier ' XMLGEN. RESETOPTIONS' must be reported
ORA-06550: line 33, column 3:
PL/SQL: Statement ignored
06550 00000 - "line %s, column % s:\n%s".
* Cause: Usually a PL/SQL compilation error
Published by: 898235 on November 20, 2011 23:02OK, so you tried the XMLTable example, or wait for someone write at the bottom for you? :)
You must first create an object of directory Oracle pointing to the physical location of the file (must be somewhere on the db server or at a location that the db server can access on the network).
Then, create the procedure, in this case a simple INSERT SELECT:SQL> create directory tmp_dir as 'c:\temp'; Directory created SQL> create table zipcodes ( 2 state_abbreviation varchar2(2), 3 zipcode varchar2(5), 4 zip_code_extn varchar2(10), 5 city varchar2(80) 6 ); Table created SQL> CREATE OR REPLACE PROCEDURE insertZipcodes ( 2 p_directory IN VARCHAR2 3 , p_filename IN VARCHAR2 4 ) 5 IS 6 BEGIN 7 8 INSERT INTO zipcodes (state_abbreviation, zipcode, zip_code_extn, city) 9 SELECT state_abbreviation 10 , zipcode 11 , zip_code_extn 12 , city 13 FROM XMLTable('/Zipcodes/mappings' 14 passing xmltype(bfilename(p_directory, p_filename), nls_charset_id('AL32UTF8')) 15 columns state_abbreviation varchar2(2) path 'STATE_ABBREVIATION' 16 , zipcode varchar2(5) path 'ZIPCODE' 17 , zip_code_extn varchar2(10) path 'ZIP_CODE_EXTN' 18 , city varchar2(80) path 'CITY' 19 ) 20 ; 21 22 END; 23 / Procedure created SQL> exec insertZipcodes('TMP_DIR', 'xml_new_cities.xml'); PL/SQL procedure successfully completed SQL> commit; Commit complete SQL> select * from zipcodes; STATE_ABBREVIATION ZIPCODE ZIP_CODE_EXTN CITY ------------------ ------- ------------- --------------- CA 94301 Palo Alto CO 80323 9277 Boulder
-
How to use the recovery partition recovery files in computer hp laptop dv6 in windows 7
I'm trying to find my laptop to factory settings without using recovery disks in windows 7.
but using whenever I try to recver in file recovery system in Control Panel, when the computer restarts it says that there is no bootable media or recovery disk.
When you use the Recovery Manager, it says the system recovery is disabled try to use recovery media creation but the creation of recovery media said that the recovery media has already been created once and it can not be recreated.
whenever I open the recovery file on the hard drive of the score, he said, this partition is for recovery donot change or remove this partition. He covered about 10 GB of space but whenver that I open it, the file is empty and hp logo appears with instructions that his is set for partition donot change it.
can someone tell what to do?Have the hard drive in the dynamic State breaks the recovery feature. Conversion of back to basics should not delete your data, unless the data is on the extra partition, you have to remove to get the disk hard back to base.
Maybe you are looking for
-
Problem with the Excel add-in-TDM
Hi- I used the ExcelTDM snap-in on other machines w / no problem, but I tried downloading it on a new computer (w / office 2003, Vista) & the icons do not appear in excel. I tried to follow the instructions on this page: http://zone.ni.com/devzone/cd
-
Convert sequence of TS2010 files to TS3.1
Hello I have invested a lot of time to develop TS2010 sequences. Now, because of our forced platform I need the same sequences TS 3.1. Is it possible to convert the sequence files in a previous version of TS somehow? concerning Mitulatbati
-
Windows 7 could not check the updates, error code 80072F8F
Remember - this is a public forum so never post private information such as numbers of mail or telephone! Ideas: Hi well I put the midi computer yesterday [am Windows 7] and I see a red x on the arrow of the notification, if it is not been on during
-
The last time I used my cell phone he has worked. Now when I try to log on to my laptop, it sends me an error message that your password is invalid and I cannot open a session. My grandchildren love enter my office and play with my computer and I th
-
Why is there not a free download of Microsoft for the problems of "sndvol32.exe"?
The question in the title.