Changing Page's layout on android?

Posted by vinnyamp 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Now, this forum is in read-only mode. You find details Details hereContinue on /r/PirateBox
Changing Page's layout on android?
August 22, 2014 03:05PM
Hello,
Today i got my Piratebox working fine on my android device, but now i'd like to know if it is possible to change the interface of the Piratebox on Android, i would like to make some changes on the page layout.



Edited 1 time(s). Last edit at 08/23/2014 03:47AM by vinnyamp.
Re: Changing Page's layout on adroid?
August 23, 2014 03:14AM
Hi vinnyamp,

all the HTML/CSS/JS files are located inside the /data/data/de.fun2code.android.piratebox/files/piratebox/html directory.

You can also select Content to SD inside the preferences, after a restart of the app the content should be located on your external storage inside the piratebox folder (normally /sdcard/piratebox ) and used from there. This makes it a bit easier to do changes.

The new PirateBox versions offers internationalization support, the translations are located inside the html/i18n directory.

To make sure your changes are not overwritten by the next update, de-select the Enable Updates option inside the preferences. This will prevent the piratebox/ directory to be overwritten, the app itself will still be updated.
Re: Changing Page's layout on android?
August 23, 2014 03:49AM
Thank you, you really helped me a lot!
I translated my piratebox page to portuguese smiling smiley
I just love this app, congratulations to the developers.
Re: Changing Page's layout on android?
August 23, 2014 04:07AM
If you would like to share your translation you can send it to me via mail (jochen[at]fun2code.de) and I'll add it to the next release.
Here is a blog post concerning translation: PirateBox for Android - I18N
Re: Changing Page's layout on android?
August 23, 2014 06:19AM
Sure, I'm glad to help with the project, I just emailed you the file translated into portuguese.