Updating language files for Opera 9
Thursday, March 23, 2006 8:36:58 AM
This change helps us in such a way that we can work in parallel adding language file in a much cleaner fashion than before, but unfortunately also means that Opera 9 will be incompatible with all previous language files. In a way, this is good, as using an older language file can cause problems, but is also bad as it causes all the unofficial translations to stop working, and puts the people providing these files in a problematic position when they want to update the translation to a newer version.
For this purpose, I have written a script that remaps the language file from the old numbering system to the new one. It is a simple Perl script that reads the old language file and changes all the numbers over to the new one. If you do not, or cannot, use Perl, you should still be able to make use of the remapping table.
Update: read about the changes in the 24th March weekly



sabio # Thursday, March 23, 2006 12:28:07 PM
Is it a regression or intentional behavior? How do I make Opera load non-english.lng file?
(Of cause, I've updated DB.version, Build.Win, Version.Win in there to match those of english.lng)
Peter Kreftingnafmo # Thursday, March 23, 2006 12:43:02 PM
Juananjuanan # Thursday, March 23, 2006 2:03:46 PM
Abílio AraújoAbilioKID # Thursday, March 23, 2006 9:58:06 PM
Thomas Ballmannesfahan # Friday, March 24, 2006 8:23:58 AM
All people who published them must now distinguish between before and after build 8303 ?
Peter Kreftingnafmo # Friday, March 24, 2006 8:30:22 AM
cyrille laloyKozAKi # Friday, March 24, 2006 11:45:29 AM
thank you
Note for people that have problem using it :
I converted the Opera-8.5x French .lng file doing :
1) Conversion :
---------------
- DL Peter's perl script
- put the script along with new english.lng & 8.5x French lng files in a directory that has user read & write rights
- Then launched the script :
$ perl remaplanguagefile.pl ouw852_fr.lng
It will stop at each lines existing in the old .lng file but not in new 9.0 english.lng file. Therewhile I edit the old file doing :
$ gvimdiff english.lng ouw852_fr.lng --> erase those lines.
This way, every comment is preserved, on opposite to Abilio_KID (otherwise very good) localized files
2) Update resulting ouw852_fr.lng.remap files with new 9.0 content :
--------------------------------------------------------------------
$ gvimdiff english.lng ouw852_fr.lng --> Change version & add new lines using powerfull gvimdiff features
$ mv ouw852_fr.lng ouw90_fr.lng
3) Make Opera 9.0 use the new ouw90_fr.lng :
--------------------------------------------
# mv ouw90_fr.lng /usr/share/opera/locale/
In Opera, type opera:config in the URL box, expand "User Prefs" & @ "Language File", browse to /usr/share/opera/locale/ouw90_fr.lng
Restart Opera.
Now you got everything back to French in your Opera 9.0
Le fichier de langue en français pour Opera 9.0 sera disponible rapidement sur le tutoriel Opera que je tiens à jour
Thomas Ballmannesfahan # Friday, March 24, 2006 2:00:13 PM
If people use different Opera versions you must provide 2 buttons instead of one. That's horrible for all the people who develop toolbars for download by toolbar.ini or direct download by opera:button-link
Szymon Teżewskijasisz # Friday, March 24, 2006 7:20:30 PM
Kaya Ünalunal # Friday, March 24, 2006 7:52:49 PM
And will you provide a new script for recent changes?
Anonymous # Friday, March 24, 2006 8:59:41 PM
Peter Kreftingnafmo # Friday, March 24, 2006 9:16:47 PM
aleksandaraleksandaraleksandar # Friday, March 24, 2006 10:40:26 PM
Sergii ProsianykMongoose # Saturday, March 25, 2006 10:21:41 AM
Anonymous # Wednesday, March 29, 2006 5:19:46 PM
Anonymous # Saturday, April 8, 2006 2:48:27 PM
Peter Kreftingnafmo # Tuesday, April 11, 2006 8:06:22 AM
anonymous: The remapping script only lists strings that are currently available, it will fail if you try to remap a language file with removed strings.
nadavkav # Tuesday, April 25, 2006 7:36:01 AM
kindly,
nadav :-)
Zih3rzih3r # Thursday, May 4, 2006 3:52:34 PM
Can someone please remapp croatian language file
http://www.ziher-net.com/shared_files/Private/croatian.lng
and send me remapped file to info (at) ziher-net.com
I don't have/understand Perl.
Peter Kreftingnafmo # Friday, May 5, 2006 6:27:22 AM
Zih3rzih3r # Friday, May 5, 2006 9:38:17 AM
Thank you! Now I must add few new lines and this will be wonderful! And collect new Opera users of course, here in Croatia!
Yury_T # Thursday, May 18, 2006 1:57:54 PM
Peter Kreftingnafmo # Monday, May 22, 2006 1:29:54 PM
Yury_T # Thursday, June 29, 2006 7:45:18 AM
Peter Kreftingnafmo # Thursday, June 29, 2006 2:26:38 PM
Marcus HaßmannMarcusHassmann # Thursday, July 24, 2008 9:15:54 AM
Is there a new download link?