Easyling Release Notes September, 2022

Last month was mostly dedicated to fixing smaller bugs that popped up. However, we still managed to release two cool features. JavaScript publishing gathers all the options related to JavaScript publishing to one place, so that you don’t need to go to multiple pages just to dial in the correct settings. Additionally, when you have multiple JavaScript exports under Previous exports, you can publish them all with just one click. Read the details after the jump!

JavaScript publishing

Crest is the JavaScript-based publishing method where all that’s necessary is one line of JavaScript. Up until now, the majority of the settings were stuffed under PublishGlobal settingsJS translation. However, there were others that were either hidden under Advanced settings or that had no user interface.

With this month’s release, we moved all these settings to one place to simplify the setup process. The new section has four subsections:

  • Embed code: This may be the most important section. Here, you’ll find the line of JavaScript that must be added in order to publish the translations.
  • Tweaks: These tweaks can change the behaviour of the translation script drastically. Note, that changing some of these options changes the Embed code. In those cases, make sure to update it on the live site as well.
  • Selectors: This section allows you to force specific processing on given elements based on their CSS selectors. If the element should be treated as a block element - making it a separate segment - enter in under “Block selector”. If an element has dynamic content, enter it under “Re-process after changes”. This runs the translation algorithm again whenever that element is changed.
  • Injection: Crest supports the injection of JavaScript and CSS files. You can specify them here. Additionally, you can specify a regular expression to only inject a given file for specific target languages. Note that this is a JavaScript regular expression as opposed to the Java regular expressions that the Dashboard usually requires. Leave empty to match every language.

Screenshot of JavaScript publishing showing the Selectors and Injection sections

Publish all

Sometimes, you have the odd project where there are more than a couple of target languages. In such a case, publishing the JavaScript export for every language individually could be a hassle. With the Publish all button, you can do it with just one click.

Screenshot of Previous exports with the Publish all button highlighted

Fixes

As usual, we fixed some smaller things:

  • The script for subdirectory publishing via CloudFlare was enhanced.
  • Google Analytics codes with both GTM and G4 formats are now supported.
  • The crawl log now contains the number of words found on any visited page.
  • The crawl logs are now made available for cancelled crawls as well.
  • We fixed a bug where sending multiple invitations would handle roles incorrectly.

How can we assist you?

We are happy to help with your questions and concerns about your website localization project.
Book a 30-minutes consultancy meeting with our experts and ask your questions!

Book a meeting