Getting Started

Introduction

  • Item Name : LetzChat, Inc. - Language and Analytics Website Plugin
  • Item Version : 6.0.0
  • Author : LetzChat, Inc.
  • Copyright : 2024

Welcome to the documentation for the LetzChat, Inc - Language and Analytics Website Plugin! This page will guide you on how to use, customize, and implement the plugin to your website.

Unlock the World: Transform Your Website into a Multilingual Gateway with LetzChat's Quick Integration and Unbounded Analytics!

The LetzChat website plugin is an innovative solution designed to help developers seamlessly integrate multilingual capabilities into their web applications. With this plugin, websites can offer real-time translation of content into multiple languages, effectively broadening their reach and accessibility to a global audience. The integration process is straightforward, involving the inclusion of a JavaScript snippet into the HTML of the site. Once installed, the plugin detects the user’s browser language or allows users to manually select their preferred language from a customizable dropdown menu. This functionality not only enhances user engagement by providing content in the user’s native language but also improves the overall user experience.

Developers can further tailor the LetzChat plugin to meet specific needs. The tool comes with comprehensive documentation that covers everything from basic setup to advanced Exclude Elements options. For instance, developers can exclude certain parts of the webpage from being translated, such as technical terms or brand names, by using the data-notranslate attribute. Additionally, the plugin supports various Exclude Elements options that allow developers to maintain the site's branding while using the translation features. This level of Exclude Elements ensures that the integration of the plugin does not detract from the site’s original design and functionality.

On the analytics front, LetzChat offers a robust analytics tool that provides insights into how the translation features are being used on the site. The analytics dashboard displays data on user interactions, language preferences, and usage patterns. This information is invaluable for developers looking to optimize the user experience and enhance the efficiency of the translation services provided. The analytics tool helps in understanding the impact of the multilingual features on user engagement and can guide further enhancements based on user behavior and preferences. Overall, LetzChat’s website plugin and analytics tool provide developers with a powerful suite of features to create a more inclusive and engaging web environment for users around the globe.

Click on your platform to see installation instructions:

Code Snippet

Copy the following line of JavaScript. Open your website's HTML and paste the copied script just before the closing </head> tag. This ensures the script loads correctly on your website.

Once installed, this script will only be collecting analytic data. No translations will occur until activated by a LetzChat Tech Member

																		
	<script src="https://letzchat.pro/firestoreconfig/plugin/letzchat.js"></script>
																	

Test Translations

To test the translation on the page into a specific language, you can use the following code in the browser console:

	
    lzSwitchLanguage('fr');
			

Exclude Elements

If there are elements on your website that you do not want to be translated, such as certain text or code snippets, you can use the data-notranslate attribute. This attribute can be added to any HTML element to prevent it from being translated by the LetzChat Website Plugin. Here's how to use it:

																		
	<p data-notranslate><Your non-translatable content here.</p>
										

Validate Installation

Run this function in the browser console to validate proper installation of the LetzChat Script.

Upon initial install it will return 'stats'. This verifies installation. Once translations are enabled, it will return 'active'.

	
lzPlanStatus