Search

User Manual

GETTING STARTED


MODULES AND PLATFORM


APPENDIX


TUTORIALS & HELPFUL TRICKS


GLOSSARY


STRATEGIC PARTNER LINKS

Sepasoft - MES Modules
Cirrus Link - MQTT Modules

RESOURCES

Inductive University
Ignition Demo Project
Knowledge Base Articles
Forum
IA Support
SDK Documentation
SDK Examples

ALL USER MANUAL VERSIONS

Ignition 8.1
Ignition 7.9
Ignition 7.8

Deprecated Pages

Skip to end of metadata
Go to start of metadata

This function is used in Python Scripting.

Description

This function allows you to add or modify a global translation.

Client Permission Restrictions

Permission Type: Translation Management

Client access to this scripting function is blocked to users that do not meet the role/zone requirements for the above permission type. This function is unaffected when run in the Gateway scope.

Syntax

system.util.modifyTranslation(term, translation [, locale])

  • Parameters

String term - The key term to translate.

String translation - The translated value to store.

String locale - If specified, the locale code (such as "es") identifying the language of the translation. If omitted, the function will attempt to detect the locale automatically. [Optional] 

  • Returns

nothing

  • Scope

Vision Client

The following feature is new in Ignition version 8.0.13
Click here to check out the other new features

As of version 8.0.13, the scope of this function was expanded to include the Gateway and Perspective Sessions.

Code Examples
Code Snippet
# This code adds or updates a translation into French
# for the world Hello. Note the u in front "Allô!", which
# is needed for Python strings outside of the 7-bit ASCII
# range.
system.util.modifyTranslation("Hello", u"Allô!", "fr")
Keywords

system util modifyTranslation, util.modifyTranslation

  • No labels