A place for discussing all apps in general + anything else you want to say.
If you try fixing a bug or adding a new feature, you should make sure that it is already reported at the given repository and the report is open and marked as a Bug or Feature Request. If the given issue is closed, chances are that we are not interested in the given feature and your pull request will likely be rejected.
Creating pull requests with some changes is a lot simpler than most people think. Most suggestions are related to translating strings, there are 2 ways to do it. You can find our apps on Weblate at https://hosted.weblate.org/projects/simple-mobile-tools/ , you can see untranslated strings there easily.
However, if you prefer the oldstyle file updating via Github, you can still do it. The process is the following:
Propose file change
Create pull request
* Change only the string which is between ">" and "\</string>", not the first one after the "name=" tag, also not the strings between "\"
* Please escape apostrophes, meaning you have to put a backslash before every apostrophe to make it look like: \'
For finding the proper language file at the Gallery go to https://github.com/SimpleMobileTools/Simple-Gallery/blob/master/app/src/main/res, then look for a "values-[language code]" folder. Use the strings.xml
file inside it. If you can\'t find your language code, the file might not be translated to your language at all yet and you will have to create the whole new file.
You will most likely want to add a new file only if you translate an app in a new language. Doing it is actually not difficult at all, just read on.
Create new file
res
folder you can type in your folder path. For creating a German translation just type in values-de/
(where de
is the country code). The new folder will be added automatically after typing the slashstrings.xml
(the path should look similar to the image below)Propose new file
Create pull request
* Change only the string which is between ">" and "\</string>", not the first one after the "name=" tag.
* Please escape apostrophes, meaning you have to put a backslash before every apostrophe to make it look like: \'
Sadly Github doesn't have any built in way of setting up notifications/emails when a file changes, but there is a third party service https://app.github-file-watcher.com which seem to work just fine. It sends you an email whenever a new string is added or the watched file changes for whatever reason. There are 3 fields you have to fill.
your email address
the repository which contains the target file, here is a list of the repositories. It appears that you will have to fill in the forms for every repository one by one, batch adding doesn't seem to be supported.
SimpleMobileTools/Simple-App-Launcher
SimpleMobileTools/Simple-Calculator
SimpleMobileTools/Simple-Calendar
SimpleMobileTools/Simple-Camera
SimpleMobileTools/Simple-Clock
SimpleMobileTools/Simple-Contacts
SimpleMobileTools/Simple-Dialer
SimpleMobileTools/Simple-Draw
SimpleMobileTools/Simple-File-Manager
SimpleMobileTools/Simple-Flashlight
SimpleMobileTools/Simple-Gallery
SimpleMobileTools/Simple-Keyboard
SimpleMobileTools/Simple-Launcher
SimpleMobileTools/Simple-Music-Player
SimpleMobileTools/Simple-Notes
SimpleMobileTools/Simple-SMS-Messenger
SimpleMobileTools/Simple-Thank-You
SimpleMobileTools/Simple-Voice-Recorder
SimpleMobileTools/Simple-Commons (for this repository the file path in the next step will be different)
the file path. For all regular apps the path will be app/src/main/res/values-xx/strings.xml
, replacing xx
with your language code. For Simple-Commons
repository the path begins with commons
, making it commons/src/main/res/values-xx/strings.xml
.
If you've setup everything properly, you should get a confirmation email for every repository. Then, whenever a file changes, you will get an email about it. The email will arrive only a couple hours after the actual file has been changed, but it's still good enough.
This is a sample email, that you will receive once a file changes, in this example I'm using the German translation of the Calendar app.
You can see that it contains multiple clickable links, let's describe them from the bottom. The first one is for easy unsubscribing, when you don't want to watch the file anymore.
The middle one contains a link to the specific commit, which changed the file. If you search for "values-de", you can easily see what exactly changed.
The link at the top points to the new version of the file, created by the commit. It points to a side branch though, you will have to switch to the master branch. It's really easy, just look at the part above the file and look for a Tree: xxxx
button, as seen on this screenshot.
Click on it, then select master
. You will be redirected to the latest version of the file, which you can already edit by pressing the pencil, as described here.