Difference between revisions of "Command Center FAQ"

From Lingoport Wiki
Jump to: navigation, search
(Why am I not getting any resource files?)
Line 39: Line 39:
   
 
= Why am I not getting any resource files? =
 
= Why am I not getting any resource files? =
  +
When on-boarding a project, pay attention to the following:
  +
* The suffix of the files, both for the source locales and the target locales.
  +
* The actual locale name of the source locale and the separators. For example: en-US vs. en.US vs. English v. eng, etc.)
  +
* Check if the file names or the directories or both have the locale codes
  +
* Make sure to check the include and exclude section of the Localyzer configuration
  +
  +
When you think everything is correct, click the 'Validate project' button in the vertical left panel.
   
 
= Why can't I find my project in the list? =
 
= Why can't I find my project in the list? =

Revision as of 19:36, 18 September 2024

Why am I not seeing all the projects?

(Manager, Developer, Translator, chips, search, favorites, tags...]

My translated files could not be pushed to the repository: Do I need to translated them again?

If the Localyzer checks passed and the only failure that happened during the import of the translation is pushing the translated files to the repository, you do not need to send the files to be translated again. You need to first correct the reason why the files could not be pushed. For example, the repository account does not have write permission or the branch is protected, so first correct that part. Then, click the 'Check import' button on the left panel. This will use the previously translated files and re-run the import process on them. With the corrected repository, the files will then be pushed to the repository.

What are the settings for MySQL 8 JDBC connection?

Deploying Command Center entails installing two Docker containers, one for the Web application, one for the MySQL 8 database. Both are on the same system and communicate via a Docker network. Command Center is reachable via its URL behind HTTPS. One cannot reach the database from outside the VM on which it is installed. Based on the above, the JDBC URL going from the Web application container to the MySQL container is configured as follows:

   app.database.url=jdbc:mysql://mysqlservercommand:3306/LRM?characterEncoding=utf8&permitMysqlScheme&restrictedAuth=mysql_native_password,client_ed25519,auth_gssapi_client,caching_sha2_password,dialog,mysql_clear_password&allowPublicKeyRetrieval=true

If LRM, the Localyzer engine, requires another configuration, that will be up to the customer IT to make that determination. For reference, the following parameters can be set on the JDBC connection:

In particular, if the MySQL 8 is installed in a non-default way and the VM on which the database is setup is not the same as the VM from which the connection is made or is exposed to a public network, the values for the following attributes may be of particular interest:

  • ServerRSAPublicKeyFile
  • allowPublicKeyRetrieval

Open Source Libraries and Licenses

See: Command Center Open Source Libraries

How to use a separate branch for translation which developers can later merge into the master branch using a pull request?

  1. In your repository, create a new branch off of the master branch for the translations. In this example, it is called Lingoport.
  2. Edit the configuration for your project, or create it, to do the following:
    1. For every analysis or other actions in Command Center, first merge the commits from master into Lingoport.
    2. The translations will come back to the Lingoport branch.
    3. At some point, a team member will have to do a pull request and merge of the Lingoport branch back into the master branch at the repository. When prompted, keep the Lingoport branch. Otherwise, the translations will not make it back to the master branch.
MergeBranch.jpg

Watch out for the following:

  • Translated files cannot be modified outside the "Lingoport" branch or merge conflict will happen.
  • In an automated system, that means blocking the process
  • Make sure to relay this part clearly to the team in charge of the repository.

Why am I not getting any resource files?

When on-boarding a project, pay attention to the following:

  • The suffix of the files, both for the source locales and the target locales.
  • The actual locale name of the source locale and the separators. For example: en-US vs. en.US vs. English v. eng, etc.)
  • Check if the file names or the directories or both have the locale codes
  • Make sure to check the include and exclude section of the Localyzer configuration

When you think everything is correct, click the 'Validate project' button in the vertical left panel.

Why can't I find my project in the list?

Where do I find the description of the errors?

Why am I not receiving notification for my project?