Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation Update: Include easyTranslationHelper in documentation #8818

Closed
j-n-c opened this issue Jun 28, 2022 · 0 comments · Fixed by #8819
Closed

Documentation Update: Include easyTranslationHelper in documentation #8818

j-n-c opened this issue Jun 28, 2022 · 0 comments · Fixed by #8819
Milestone

Comments

@j-n-c
Copy link
Contributor

j-n-c commented Jun 28, 2022

At University of Aveiro, we have translated Dataverse v5.10 to Portuguese (Portugal).

In the process of doing so, we found that there would be a gigantic amount of work for performing the translation from scratch, so we developed a script tool that could automate work as much as possible.

This tool, taking at least one base file, based on which comparisons are made (e.g. en_US v5.10 Bundle.properties), and an aux file (e.g. pt_PT v.5.5 Bundle_pt.properties) as input parameters (currently) has the features depicted below:

  • Get different keys: Get keys from base file that do not exist in aux file
  • Full parsing: Generate a new file, where key's values in base file are the updated with corresponding values from aux file (if key exists in aux file). If key does not exist in aux file, entry is added as is in base file. This is the default behaviour
  • Parse starting from key: Similar to full parsing feature, but entry processing is done starting on the line where the provided key (if present) is found
  • Parse starting from line: Similar to full parsing feature, but entry processing is done starting on the provided line (if valid)
  • Export results into custom output file
  • Select file encoding: Select base and aux file file enconding (output file's encoding is set to 'UTF-8')
  • Select key/value separators: Select base, aux and output file key/value separator.
    • Base file separator defaults to '='
    • Aux file separator defaults to '='
    • Output file separator defaults to base file separator

We propose adding an URL to the Internationalization documentation so that this tool can be found and used by the community

j-n-c pushed a commit to universidadeaveiro/dataverse that referenced this issue Jun 28, 2022
j-n-c pushed a commit to universidadeaveiro/dataverse that referenced this issue Jul 12, 2022
j-n-c pushed a commit to universidadeaveiro/dataverse that referenced this issue Jul 15, 2022
j-n-c pushed a commit to universidadeaveiro/dataverse that referenced this issue Jul 15, 2022
kcondon added a commit that referenced this issue Aug 3, 2022
…Helper

#8818 - Added reference to translation tool to Internationalization section of the documentation
@pdurbin pdurbin added this to the 5.12 milestone Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants