View Single Post
Old 02-01-2013, 02:52 PM   #2
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 1,784
Karma: 4368476
Join Date: Oct 2010
Location: Vancouver, BC, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840
On the Pro devices, the default language files are in the /ebrmain/language directory. If you install some kind of shell program (poterm, or one of the remote terminals like utelnetd), then you can copy any *.txt file to the USB exported internal memory (/mnt/ext1) or the SD card (/mnt/ext2), and from there, to a computer via USB.

Within the shell on the pocketbook, you can get a sorted list of the labels with the following command:

Code:
cut -d '=' -f 1 /ebrmain/language/en.txt | grep '@' | sort > /mnt/ext1/en.txt.sorted_labels
Run the same command on your older Swedish translation file, and then you can compare the two output files to see which new translations are required.

If you want to get an idea of the number of translations that are required, you can use the 'wc -l' command on the sorted outputs to count the number of lines in each.
rkomar is offline   Reply With Quote