Create a Figma project

From Lingoport Wiki
Jump to navigation Jump to search

Data Source Settings

Figma projects use a repository to store the strings coming from the Lingoport Figma Plugin, in a file following this pattern:

  • figma/locales/<locale>/translation.json

If the source locale is, say 'en', then a JSON file must exist in order for the process to complete successfully:

  • figma/locales/en/translation.json

The translation.json file can be as simple as:

 {
 }


Project Name

The values on this page are initially filled in based on the repository, but can be changed at creation or later while editing.

  1. Set the Group Name. Often, this is the same as the Company Name that Command Center was installed with. But it can be almost anything. There is a restriction that it must be the same case. For example, if the Group Name for other projects is ACME (all caps), then another project cannot be created with a group name of 'acme' or 'Acme'.
  2. Set the Project Name. Project name must be one word and cannot contain any of the following characters: < > : " * / | ? . % --
  3. Set the Module Name. This is defaulted to the branch that the project is using.
  4. Tags - tags can be selected from a drop-down list of already created tags or new ones can be created by selecting the plus sign. Projects can have a number of tags associated with them.

In the module name above, 4.0.41 would not be accepted, the dots (.) would have to be replaced by, say underscores (_).

Accessors

Select the Users and Teams that will have access to this project. Also verify the users that will receive email notifications for this project. The Lingoport Figma Plugin is configured with an API User and token for a Figma project in Command Center. A Command Center Figma project must have an assigned API User.

Translation Connections and Locales

Select a Machine Translation, an LLM, or a Translation Management System that will be translating the resource files. These need to have been created before attempting to create a Localyzer project.

Select the source locale coming from Figma and the target locales into which the Figma strings will be translated.

Advanced Settings

These are optional settings to consider in special situations. For example, the commit message for Figma only project could be set as follows: