Skip to content

techstreams/TSTranslateKhmer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TSTranslateKhmer

If you enjoy my Google Workspace Apps Script work, please consider buying me a cup of coffee!


Demonstration Google Apps Script which translates Cambodian Khmer to English through a Google Form using Google Translate. An email containing both the Khmer text and English translation is automatically sent to the form owner each time a user submits to the form.

Install

Follow these instructions to install the TSTranslateKhmer script and host form into your Google Drive:


Usage

See the TSTranslateKhmer documentation

Important Usage Notes:

  • The Khmer text portion of the email may only be viewable in certain browsers such as Chrome. Other desktop or mobile browsers may not display the Khmer text.

  • Google Apps Scripts are subject to daily quota limits including the number of emails sent. See the Quota Limits tab of the Google Apps Script Dashboard for more information.

  • TSTranslateKhmer may not be appropriate for high traffic forms, especially in cases where the form owner consistently receives quota limit exceeded notifications.


Contributing to this project

Contributions are welcome. Please take a moment to review the guidelines for contributing and check the Change log for any existing updates.


Developer Notes

Edit src/tstranslatekhmer.coffee for all changes to dist/code.gs and use Gulp to build. See the Using CoffeeScript and Gulp section below for more information.

Edit .html files directly in the dist/ directory.

Using CoffeeScript and Gulp

Ensure that Node.js and npm are installed on your system. NOTE: Most Node.js installers include npm.

To install dependencies, run the following command from the project's root directory (you may need to run sudo npm install depending upon your environment):

$ npm install

Install Gulp globally. (You may need to run sudo npm install --global gulp depending upon your environment):

$ npm install --global gulp

Code:

To build code, edit the source and run the following command from the project's root directory:

$ gulp

While developing, the gulp dev task may be useful. Run the following command from the project's root directory:

$ gulp dev

You can find gulp tasks in the gulpfile.


License

Copyright 2014 Laura Taylor

Licensed under the Apache License, Version 2.0 (the "License"); you may not use the files except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

A Google Apps Script for Google Forms which translates Cambodian Khmer to English and emails the form owner with both the submitted and translated text.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published