FAQs
Frequently Asked Questions
Hook Up
Add this ONE LINE of code INSIDE <head></head> you want attached to us
<head>
.....
<script src='https://api.onelinetomarket.com/'></script>
</head>
Trial Translations
Code your website to show trial translations to ONLY your IP address
<?php
if ( $_SERVER['REMOTE_ADDR'] == '<< YOUR IP >>' )
echo <<< HTML
<script src='https://api.onelinetomarket.com/'></script>
HTML;
?>
Real Translations
Contact us when you are ready
Not Translate
If you do not want a phrase ( or page ) translated, surround that text with:
<!-- NOtr --> .... <!-- NOtrEND -->
Customize Flags Placement
We place Flags ( the ability of YOUR users to see YOUR webpage in THEIR language ) at the bottom of THE FIRST PAGETo customize the location of ther Flags, place this where you want the flags to show:
<div id="trFlags"></div>
JQuery edits required
Add translate.snippet
var data = "Hello World"
var data = "Hello World"
translate.snippet( data, translated => {
data = translated
})
JQuery edits required
Add translate.snippet
$.post({url:"YOUR_AJAX_FILE" ...
success:function( data ) {
$("#demo").html( data );
}
)}
$.post({url:"YOUR_AJAX_FILE" ...
success:function( data ) {
translate.snippet ( data,translated) => {
$("#demo").html( translated );
})
}
)}