Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • N nm.debian.org
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 19
    • Issues 19
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Debian New Member Process
  • nm.debian.org
  • Issues
  • #49
Closed
Open
Issue created Sep 26, 2021 by Carlos Henrique Lima Melara@charles

Complement WebUI Translation section of README.md

Hi, the pt-br l10n team is working on the translation of the website. Tico who is a member of the team is the one doing the work. He's an awesome translator, though he doesn't work with web development and programming.

When he tried to follow the steps after translating the messages, he couldn't test the work because the option to change the web page to portuguese wasn't showing up. He asked the pt-br-l10n team for help and I ended up helping him.

Turns out that one have to add the newly translated language to a list in nm2/settings.py as shown below.

diff --git a/nm2/settings.py b/nm2/settings.py
index 71a3ff60..f3d7646f 100644
--- a/nm2/settings.py
+++ b/nm2/settings.py
@@ -190,6 +190,7 @@ LANGUAGES = (
     ('es', _('Spanish')),
     ('it', _('Italian')),
     ('fr', _('French')),
+    ('pt-br', _('Portuguese')),
 )
 
 

So I think that it would be really helpful to indicate this step in the readme, so everyone from the l10n teams can test without much hassle.

Edited Sep 26, 2021 by Carlos Henrique Lima Melara
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking