Jump to content


Photo

Remove unused languages?

enigma2 remove language dm800

  • Please log in to reply
54 replies to this topic

Re: Remove unused languages? #41 junad

  • Senior Member
  • 269 posts

0
Neutral

Posted 30 October 2012 - 07:53


Yes I've used it when I had Previous image installed with 1.6 ie
but now i use OpenPLi-3.0 with 2.0 oe and this plugin just compatible with 1.6 oe


Just for the record: OE 1.6/2.0 is something used by Dream Multimedia. OpenPLi doesn't use a DMM image as a basis, we have our own OpenEmbedded environment.

You're right
I've been installed yesterday and no problem yet
but i think is unhelpful Enough
like swap file case

Re: Remove unused languages? #42 alex36

  • Member
  • 14 posts

0
Neutral

Posted 12 November 2012 - 20:24

I do always remove

sambaserver
enigma2-plugin-systemplugins-fastscan
enigma2-plugin-systemplugins-osd3dsetup
enigma2-plugin-extensions-mediascanner
enigma2-plugin-extensions-mediaplayer
opkg remove --force-depends oscam-util-list-smargo
enigma2-plugin-extensions-ppanel
enigma2-plugin-systemplugins-hdmicec
kernel-module-rt2500usb
kernel-module-rt2800usb
kernel-module-rt73usb
hotplug-e2-helper
enigma2-plugin-systemplugins-wirelesslan
python-wifi
enigma2-plugin-systemplugins-softwaremanager
sambaserver
enigma2-plugin-systemplugins-cablescan

Gr Mika


Hoi mika,
how we must delete this items ?
with telnet , so ja , which command?

Regardzz,

Re: Remove unused languages? #43 hemispherical1

  • PLi® Betateam
  • 1,596 posts

+49
Good

Posted 12 November 2012 - 22:43

In telnet...

opkg remove package-name

--
hemi

Re: Remove unused languages? #44 ian1095

  • Senior Member
  • 459 posts

+6
Neutral

Posted 15 July 2014 - 08:25

also this more accurate modifiication for language.py
 

def addLanguage(self, name, lang, country):
  langfile="/usr/share/enigma2/po/"+lang+"/LC_MESSAGES/enigma2.mo"
				try:
	  if os.path.exists(langfile):
						self.lang[str(lang + "_" + country)] = ((_(name), lang, country))
   self.langlist.append(str(lang + "_" + country))
  except:
   print "Language " + str(name) + " not found"


note:indentation is not correct in above code

Does anyone have any further ideas on how to stop the unused languages downloading again after they have been removed after a software update has been performed ?

 

None of the above code works,the unused languages still download again.

 

Ian.



Re: Remove unused languages? #45 MiLo

  • PLi® Core member
  • 13,612 posts

+285
Excellent

Posted 15 July 2014 - 08:47

To do that, you'd have to create separate packages containing the translations for each language. This would result in about 30 packages named "enigma2-en", "enigma2-de", "enigma2-nl", etcetera. Lot of work to maintain and making upgrades and changing languages hellish.
Real musicians never die - they just decompose

Re: Remove unused languages? #46 littlesat

  • PLi® Core member
  • 42,906 posts

+434
Excellent

Posted 15 July 2014 - 09:08

I think when you have leak of memory... Put e plugin and extra gadgets on an usb stick and refer to it with help from a softlink...
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W Thanks to Henksat

Re: Remove unused languages? #47 ian1095

  • Senior Member
  • 459 posts

+6
Neutral

Posted 15 July 2014 - 12:35

This is to do with flash space Littlesat

 

These languages take up a whopping 4% of flash,which is a real shame and quite a large waste, for something I will never use.

 

Hence my desire to remove them permanently and not to have them come back again,when i perform a software update.

 

I do however already have all of my extensions folder on my HDD using a symlink to save space.

 

If there is no solution to this then I may have to do the same thing with the language po folder too.

 

Ian.


Edited by ian1095, 15 July 2014 - 12:38.


Re: Remove unused languages? #48 ian1095

  • Senior Member
  • 459 posts

+6
Neutral

Posted 15 July 2014 - 12:44

If I could find a way of saving this 4% of flash space,I could then consider adding the WMV/WMA patch to my image,as this patch alone takes up 7% of flash,so you can see the reason for my desire to do this.

 

Ian.



Re: Remove unused languages? #49 MiLo

  • PLi® Core member
  • 13,612 posts

+285
Excellent

Posted 15 July 2014 - 15:13

Much simpler options:

- Move things to USB

- Compress the flash image more (e.g. XZ or squash)
Real musicians never die - they just decompose

Re: Remove unused languages? #50 littlesat

  • PLi® Core member
  • 42,906 posts

+434
Excellent

Posted 15 July 2014 - 15:58

..... Or get a box with sufficiant flash,,,,
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W Thanks to Henksat

Re: Remove unused languages? #51 ims

  • PLi® Core member
  • 8,708 posts

+138
Excellent

Posted 16 July 2014 - 07:24

for manual removing unused e2 and plugins languages is somewhere in forum plugin (rmlocale).


Kdo nic nedělá, nic nezkazí!

Re: Remove unused languages? #52 ian1095

  • Senior Member
  • 459 posts

+6
Neutral

Posted 16 July 2014 - 08:38

..... Or get a box with sufficiant flash,,,,

Seriously ?

 

Thats your best answer ?

 

Thats like saying rather than remove junk files on your pc,buy yourself a larger HDD.

 

@IMS

 

thats great,but the problem is they return once more after a software update,so the saved space is never really saved,its just borrowed,if you understand what i mean.

 

Ian.


Edited by ian1095, 16 July 2014 - 08:38.


Re: Remove unused languages? #53 Raitsa

  • Senior Member
  • 121 posts

+6
Neutral

Posted 16 July 2014 - 10:14

Slightly offtopic but after installing the image, OpenATV has an GUI option to delete unused languages.


Sony VPL-HW55ES + Stewart Firehawk 182cm, 2 * Nvidia Shield, LibreElec + 5 * Intel NUC, Vu+ Uno4k & T90+8lnb, 28Tb Thecus N7510 NAS, Denon AVR-X1100W, AMX+ 3*Ipad, 3*KefQ1, 4*KefQ2DS, Elac S12EQ

Re: Remove unused languages? #54 hemertje

  • Forum Moderator
    PLi® Core member
  • 32,828 posts

+116
Excellent

Posted 16 July 2014 - 10:24

Slightly offtopic but after installing the image, OpenATV has an GUI option to delete unused languages.

 

We (OpenPLi) dont have that option, nor have we the intention to build that function inside the images

All todays boxes have memory enough inside that you dont run out of space


WaveFrontier T90: 28.2E | 23.5E | 19.2E | 16E | 13E | 10E | 4.8E | 0.8W | 5W | 8W |
Tell your friends about our Pli Wiki as it is there to help you: Click here for the PLi Wiki


Re: Remove unused languages? #55 littlesat

  • PLi® Core member
  • 42,906 posts

+434
Excellent

Posted 16 July 2014 - 14:49

But then still they come back after an upgrade and must be removed later again via the plugin.... So you do not save really some flash...
To do this correctly you need multiple ipk packages... Just for saving 3 MB... When someone has a real solution???

Edited by littlesat, 16 July 2014 - 14:50.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W Thanks to Henksat





Also tagged with one or more of these keywords: enigma2, remove, language, dm800

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users