• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Recognise language automatically?

Engaged ,
Feb 27, 2019 Feb 27, 2019

Copy link to clipboard

Copied

This week's challenge.

import from .csv and recognise language and process accordingly.

I figure if you can auto translate expressions for language with universaliser, then you can recognise languages????

Any tipw where to statrt the investigation?

TOPICS
Scripting

Views

804

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 02, 2019 Mar 02, 2019

Copy link to clipboard

Copied

You can look at the name of any property (in this example the opacity property of the layer) and then check in which language it is written. Requires only that you know the name of this property in all UI languages you want to support:

var myName = thisLayer("ADBE Transform Group")("ADBE Opacity").name;

var language = undefined

if(myName == "Opacity") language = "EN"

else if(myName == "Deckkraft") language = "DE"

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Mar 05, 2019 Mar 05, 2019

Copy link to clipboard

Copied

LATEST

Thanks sir

I love this Columbo stuff.

seems like a good place to start, unless I can get them to use Dataclay...

I am not sure yet if this is localised versions of After Effects, or just localised content.

In which case I will need to get them to add a locale code to the spreadsheet.

And then see if AE can natively access that.

So if the variable = "fr" use come "xxx_fr" etc.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines