Page MenuHomePhabricator

Implement language dialog in welcome screen
Closed, ResolvedPublic

Description

Right now the welcome screen that is shown first time when you start huggle can't be translated because it appears before you are able to select language, we should probably copy the selection form from login screen that would allow user to change the language.

Also the language should be autodetected from OS on first run of huggle.

Event Timeline

Petrb triaged this task as Medium priority.May 8 2017, 6:06 PM
Qse24h closed this task as a duplicate of T164723: New git repository: <repo name>.
Qse24h closed this task as a duplicate of T164723: New git repository: <repo name>.
Qse24h closed this task as a duplicate of T164723: New git repository: <repo name>.
Qse24h closed this task as a duplicate of T164723: New git repository: <repo name>.
Qse24h closed this task as a duplicate of T164723: New git repository: <repo name>.
Qse24h closed this task as a duplicate of T164723: New git repository: <repo name>.
Qse24h closed this task as a duplicate of T164723: New git repository: <repo name>.
Qse24h closed this task as a duplicate of T164723: New git repository: <repo name>.
Qse24h closed this task as a duplicate of T164723: New git repository: <repo name>.
This comment was removed by Ilanosortap.

Hi, that's perfect!

First of all, fork Huggle repository - it's on github http://github.com/huggle/huggle3-qt-lx

Once you have it forked on your github profile, then you can use git to create a new branch and upload it to your fork. There is git preinstalled, so all you need to do is open a terminal (it's in side bar) and navigate to huggle repository (use these commands):

# better safe than sorry
cp -r ~/Documents/huggle3-qt-lx ~/Documents/backup
cd ~/Documents/huggle3-qt-lx
# Now this will open editor
gedit .git/config

In text editor, replace this part of text

[remote "origin"]
    url = https://github.com/huggle/huggle3-qt-lx

With this:

[remote "origin"]
    url = https://github.com/<your username>/huggle3-qt-lx

Where obviously username is yours ;)

Then execute these commands:

# set up git first
# Change these values
git config --global user.name "Your username"
git config --global user.email "your@email"
git checkout -b T164775
# if you know how to use git, just add all files you changed, otherwise do:
git commit -a -m "T164775: implemented language dialog in welcome screen"
git push origin T164775

That should send the branch to your fork of huggle's repo, then if you open it on GitHub, you should see "send a pull request" button, just press it, and I will be notified about the pull request, let me know if you had troubles.