Skip to content

gavGaz/Translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Translator

Translator webpage

The initial PoC consists of a simple Bootstrap page and a PHP page and harnesses the Microsoft/Bing translator API.

Bing documentation here: https://www.microsoft.com/en-us/translator/getstarted.aspx

The token.php file gets a token from Microsoft to use the translator API (10 min life)

The webpage has 3 fields, a 'source' field (where text to be translated is entered) and then two output fields (where translated text will be placed).

Currently the source language is hardcoded as 'en' (English) and the two outputs as 'pl' (Polish) and 'ro' (Romanian).

Typing in the source text area won't immediately trigger a translation activity, this is triggered by entering a punctuation character. The recognized punctuation characters to trigger a translate are enter, comma and period.

About

Translator webpage

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published