Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Modifying English.lng
« previous next »
  • Print
Pages: [1]

Author Topic: Modifying English.lng  (Read 866 times)

Offline Buzkill

  • Member
  • *
  • Posts: 36
Modifying English.lng
« on: August 21, 2021, 11:56:43 PM »
Threw rockbox on my old iPod 4g greyscale and So far  I've been almost 100% effective at modifying my main menu items to read as I like them (closer to stock)
By just modifying the English.lng file with the wording I like. But by doing so it seems that I've introduced/uncovered some kind of bug, because after the modification, everything reads correctly except that now any setting with Yes/No option, the word “YES" does not appear anymore. It's just a blank line. It still works abs I can highlight the option, it just seems the word "yes" is broken. Any ideas why this would happen?

Here is a list of the words changed:

Database > Music
Playlist catalogue > Playlists
Plugins > Extras
Recording >  Recordings
Logged

Offline Buzkill

  • Member
  • *
  • Posts: 36
Re: Modifying English.lng
« Reply #1 on: August 22, 2021, 02:16:05 AM »
OK by following https://www.rockbox.org/wiki/LangFiles I've managed to be able to get a new English.lng file created....BUT now i'm having issues figuring out which version of the original english.lang file to use.

At first i just used the most recent version but quickly realized that it has to be the exact right version. so looking on my ipod at the rockbox-info.txt  i see that its version 3.15...

Target: ipod4g
Target id: 17
Target define: -DIPOD_4G
Memory: 32
CPU: arm
Manufacturer: ipod
Version: 3.15
Binary: rockbox.ipod

BUT again that didnt work and i just get a bunch of random text everywhere.

Any ideas how to find which version i need other than trial and error??

Cheers everyone and happy listening!
Logged

Offline Buzkill

  • Member
  • *
  • Posts: 36
NOT SOLVED
« Reply #2 on: August 22, 2021, 03:55:34 AM »
And so i just resorted to manually editing the binary with a Hex-editor instead of notepad++. Worked like a charm**** The same thing happened! the word "yes" is not showing up?! wtf?

So for anyone wanting to customize their main menu or any other words, good way to do it.
« Last Edit: August 22, 2021, 04:20:40 AM by Buzkill »
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9213
Re: Modifying English.lng
« Reply #3 on: August 22, 2021, 09:25:47 AM »
The language file needs to match the rockbox version. Usually you build them together so that you get a new rockbox.zip containing the updated text.

If you want to avoid building rockbox, you need to download the current build for your device and the current version of english.lang. Then use those.
« Last Edit: August 22, 2021, 07:33:42 PM by saratoga »
Logged

Offline Buzkill

  • Member
  • *
  • Posts: 36
Re: Modifying English.lng
« Reply #4 on: August 23, 2021, 04:29:11 AM »
I've done that with no success. Even if i use the 3.15V english.lang from git and compile, it doest match the one that comes with the 3.15 release.

And like I've said, I've managed to get all that working right, but for some reason the word "YES" still disappears, so I'm starting to think this is something else completely.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9213
Re: Modifying English.lng
« Reply #5 on: August 23, 2021, 10:10:26 AM »
3.15 is a release from 2019. Did you actually track down a 2 year old version of english.lang? 

FWIW I don't recommend doing what you are doing. Instead I would use the current build for both the language file and rockbox.
Logged

Offline Buzkill

  • Member
  • *
  • Posts: 36
Re: Modifying English.lng
« Reply #6 on: August 24, 2021, 09:22:38 AM »
Well, for one I'm using the current build posted on the site, just happens to be 3.15...thought that was up to date? no...????.. As for daily dev builds, I havent been able to get the compiling to work on my windows machine and haven't had time to pull out another to test linux currently.

And as for the Language issue, it was just an offset error. Replaced everything with another letter or an empty space to keep all the bits lined up in the binary. Insert worked like a charm for that.


SOLVED
« Last Edit: August 24, 2021, 09:24:12 AM by Buzkill »
Logged

Offline Buzkill

  • Member
  • *
  • Posts: 36
Re: Modifying English.lng
« Reply #7 on: August 24, 2021, 09:24:42 AM »
Quote from: saratoga on August 23, 2021, 10:10:26 AM
3.15 is a release from 2019. Did you actually track down a 2 year old version of english.lang? 

FWIW I don't recommend doing what you are doing. Instead I would use the current build for both the language file and rockbox.

Where would you recommend i get a current build newer than 3.15?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9213
Re: Modifying English.lng
« Reply #8 on: August 24, 2021, 11:15:43 AM »
Current build is available here:  https://build.rockbox.org/
Logged

Offline Buzkill

  • Member
  • *
  • Posts: 36
Re: Modifying English.lng
« Reply #9 on: August 25, 2021, 11:36:43 PM »
 8) Cheers!

Just very confusing considering https://www.rockbox.org/download/ is still up and working.

/download is generally my first place i look for CURRENT releases  ::) (hint hint to admin)
Logged

Offline 7o9

  • Member
  • *
  • Posts: 117
Re: Modifying English.lng
« Reply #10 on: August 26, 2021, 01:39:17 AM »
The link saratoga provided is basically the same as the 'dev builds' link at the top left of the Rockbox site.

The 'release' links points to the latest 'official' release builds, which by now are quite old. There just has not been a new 'official' release in a while.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Modifying English.lng
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.055 seconds with 19 queries.