I was able to successfully add/remove 3 languages seems to work as expected
please send me detailed steps in case it doesn't work for you On Fri, Aug 23, 2013 at 5:54 PM, Maxim Solodovnik <[email protected]>wrote: > I'll try to doublecheck this and will write you back > On Aug 23, 2013 3:53 PM, Mathias Bässler <[email protected]> wrote: > >> Good News: It worked! >> It really were the admin rights, sometimes windows is kinda hard to deal >> with... >> Thanks for your help Maxim, that problem really bugged me... >> An additional question, is it possible to delete an added language? >> I can have maximum 1 added language, if I add another, the first is >> overwritten. If I try to delete the added language, nothing happens. >> (Thats why I tried to delete another language in the first place, >> unfortunaly that worked...) >> >> Gesendet: Freitag, 23. August 2013 um 10:35 Uhr >> Von: "Maxim Solodovnik" <[email protected]> >> An: "Openmeetings user-list" <[email protected]> >> Betreff: Re: Re: Re: Re: Set language files to default value or replacing >> lost ones >> >> ok, try to workaround this: >> open admin.bat >> >> replace >> java -cp "%CLASSPATH%" -Dcontext=%OM_CONTEXT% >> -Dlogback.ContextSelector=org.red5.logging.LoggingContextSelector >> org.apache.openmeetings.cli.Admin %* >> with >> java -cp "%CLASSPATH%" -Dcontext=%OM_CONTEXT% >> -Dlogback.ContextSelector=org.red5.logging.LoggingContextSelector >> org.apache.openmeetings.cli.Admin -v -l >> >> run it as admin with no parameters >> >> On Fri, Aug 23, 2013 at 3:31 PM, "Mathias Bässler" <[email protected]> >> wrote:Thats exactly what I thouhgt and what I did. >> So I was a little surprised as I found out it doesn't seem to work this >> way. >> I discovered it per coincidence: After running admin.bat inside cmd.exe >> (of course opened it with rclick->"run as admin") I started red5.bat in the >> same window. As I tried to run OM, it didn't work, I got the same error >> like when I just double clicked on red5.bat. But I definitely started >> cmd.exe as admin, even in the title of the cmd-window "Administrator:..." >> was written. I closed cmd, rclicked red5.bat and run it as admin and OM >> worked. So the problem remains, if I run admin.bat via cmd.exe it won't >> start with admin rights, if I start it directly with admin rights it >> automatically closes after showing the help text without a chance to pass >> the parameters... >> >> >> Gesendet: Freitag, 23. August 2013 um 09:15 Uhr >> Von: "Maxim Solodovnik" <[email protected][[email protected]]> >> An: "Openmeetings user-list" <[email protected][ >> [email protected]]> >> Betreff: Re: Re: Re: Set language files to default value or replacing >> lost ones >> >> yes, sure >> find "Command" (cmd.exe) program in your Start menu >> rclick on it and "run as administrator" >> then run admin.bat inside this command prompt. >> >> On Fri, Aug 23, 2013 at 2:06 PM, "Mathias Bässler" <[email protected][ >> [email protected]]> wrote:I think I found the problem, its in the rights >> (again). >> Even if I start the prompt with admin rights, if I execute admin.bat it >> runs without admin rights, therefore isn't allowed to change OM. >> But if I run admin.bat via right click -> run with admin rights it only >> shows the help and closes automatically, without giving me the chance to >> type the options -v -l. Furthermore I can't activate "run as admin" in the >> options, its greyed out... >> Is there a way to start admin.bat with admin rights and pass the >> parameters? >> >> Gesendet: Freitag, 23. August 2013 um 06:01 Uhr >> Von: "Maxim Solodovnik" <[email protected][[email protected]][ >> [email protected][[email protected]]]> >> An: "Openmeetings user-list" <[email protected][ >> [email protected]][[email protected][ >> [email protected]]]> >> Betreff: Re: Re: Set language files to default value or replacing lost >> ones >> >> just have double checked >> deleted German (de) >> then run admin and it was restored >> >> Maybe this is because you have deleted language file ... >> could you please try to restore deleted file from OM distribution and try >> one more time? >> >> On Thu, Aug 22, 2013 at 10:14 PM, "Mathias Bässler" <[email protected][ >> [email protected]][[email protected][[email protected]]]> wrote:It looked >> promising, but didn't work... >> I forgot to mention, that I deleted the language on my local pc >> testversion, which runs under windows. So I used admin.bat and did the >> following: >> >> - stopped OM >> - opened prompt with admin rights >> - changed to the correct directory >> - executed "admin -v -l" >> >> It looked like it worked, at the end there was the message "All languages >> are imported" and before that for every of the 32 a message "Lang ADDED". >> But when I start OM, there are no changes. Another thing, I can't delete >> a language that I added myself, but I can delete one of the standard >> languages (yes I deleted another language, which I don't need, on purpose). >> What did I wrong? >> >> >> Gesendet: Donnerstag, 22. August 2013 um 15:56 Uhr >> Von: "Maxim Solodovnik" <[email protected][[email protected]][ >> [email protected][[email protected]]][[email protected][ >> [email protected]][[email protected][[email protected]]]]> >> An: "Openmeetings user-list" <[email protected][ >> [email protected]][[email protected][ >> [email protected]]][[email protected][ >> [email protected]][[email protected][ >> [email protected]]]]> >> Betreff: Re: Set language files to default value or replacing lost ones >> You can do it via command line admin. >> 1) stop om >> 2) run ./admin.sh -v -l >> >> On Aug 22, 2013 8:20 PM, Mathias Bässler <[email protected][[email protected] >> ][[email protected][[email protected]]][[email protected][[email protected]][ >> [email protected][[email protected]]]]> wrote:Hi, >> >> I accidently deleted a language in OM and wanted to reset the files to >> the way they were after installing OM or at least replace the lost >> language. But if I add a new one, I can only specify its name and iso code, >> not the id of the language. Is there a way to add a new language and give >> it a specific id (then import the correct language file of course) so that >> it can replace the lost one? Changing language files etc. is done via >> language editor, but I don't see how it should be done with the editor... >> -- >> WBR >> Maxim aka solomax >> -- >> WBR >> Maxim aka solomax >> -- >> WBR >> Maxim aka solomax >> > -- WBR Maxim aka solomax
