Create a Globalyzer only project: Difference between revisions

From Lingoport Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 35: Line 35:
= Globalyzer Settings =
= Globalyzer Settings =
Globalyzer scans code for i18n issues based on two different methods:
Globalyzer scans code for i18n issues based on two different methods:
* using [[https://www.globalyzer.com/gzserver/help/usersguide/ruleSets.html|rules]] configured in [[https://www.globalyzer.com/gzserver/help/usersguide/toc.html|Globalyzer Server]] with an optional LLM (ChatGPT) second pass on those issues
* using [https://www.globalyzer.com/gzserver/help/usersguide/ruleSets.html rules] configured in [https://www.globalyzer.com/gzserver/help/usersguide/toc.html Globalyzer Server] with an optional LLM (ChatGPT) second pass on those issues
* using an LLM (ChatGPT) directly
* using an LLM (ChatGPT) directly


Line 41: Line 41:
To create a Globalyzer project, a Project Definition File must exist in a repository, either  
To create a Globalyzer project, a Project Definition File must exist in a repository, either  
* in the project repository, typically under <code>lingoport/LiteProjectDefinition.xml</code> or  
* in the project repository, typically under <code>lingoport/LiteProjectDefinition.xml</code> or  
* as a System file.  
* as a [[System_Files | System file]].  


==== Samples====
==== Samples====
Line 66: Line 66:
  <nowiki>https://github.com/Acme/MyProject</nowiki>
  <nowiki>https://github.com/Acme/MyProject</nowiki>


and the Lite Project Definition File is in the '''lingoport''' folder and called '''PDF.xml'''
and the Lite Project Definition File is in the '''lingoport''' folder and called '''LiteProjectDefinition.xml'''


then the entry for Project Definition File would be:
then the entry for Project Definition File would be:


  /lingoport/PDF.xml
  /lingoport/LiteProjectDefinition.xml


If the path or the file is incorrect or the file is not a Globalyzer Lite Project Definition file, then the error will be: '''Invalid lite file'''.  The file needs to be correct before moving forward.
If the path or the file is incorrect or the file is not a Globalyzer Lite Project Definition file, then the error will be: '''Invalid lite file'''.  The file needs to be correct before moving forward.

Latest revision as of 14:07, 9 April 2026

Data Source Settings

For this example, we are using the GitHub repository. Other Data Source types are similar. Enter the credentials, the repository URL, and the branch that is being used for the project.

If the repository has branches that merge into the project branch, this can be specified.

Click Next

Project Name

The values on this page are initially filled in based on the repository and 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.
  5. Select the Project Run Type. A project can be a Globalyzer project, a Localyzer project or both. By default these are unselected. The user cannot select Next until at least one option is selected.

Select Next

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.

Select Next

Globalyzer Settings

Globalyzer scans code for i18n issues based on two different methods:

  • using rules configured in Globalyzer Server with an optional LLM (ChatGPT) second pass on those issues
  • using an LLM (ChatGPT) directly

Project Definition File

To create a Globalyzer project, a Project Definition File must exist in a repository, either

  • in the project repository, typically under lingoport/LiteProjectDefinition.xml or
  • as a System file.

Samples

Setting

Both of the prompts on this page depend on files in the Settings -> System Files -> Globalyzer Lite Files and Custom Scripts. If these are not set up then use the default settings.

Script to Generate Globalyzer reports.

Apply ChatGPT Prediction to Globalyzer Reports. Enables and disables the automatic prediction of ChatGPT to all issues detected by Globalyzer.

ChatGPT Token. Token used by ChatGPT when leveraging ChatGPT predictions.

For details on using ChatGPT with Globalyzer see Globalyzer and ChatGPT

Project Definition File Where in the repository is the Globalyzer Lite Project Definition file?

For example, if your repository is

https://github.com/Acme/MyProject

and the Lite Project Definition File is in the lingoport folder and called LiteProjectDefinition.xml

then the entry for Project Definition File would be:

/lingoport/LiteProjectDefinition.xml

If the path or the file is incorrect or the file is not a Globalyzer Lite Project Definition file, then the error will be: Invalid lite file. The file needs to be correct before moving forward.

Select 'Next to validate the Globalyzer configuration:

Validate Globalyzer Configuration

Click Create to finalize the project creation. This will display the new project. Click Analyze for the first results.