1

Topic: Language

Is it posible me to create new translation and add it to the game?

2

Re: Language

yes

3 (edited by 2012-04-27 16:31:07)

Re: Language

how?

if i am using linux how can i add translation?

4

Re: Language

It's not OS-dependant, take a look into teeworlds/data/languages and edit a file (or create a new one).

Not Luck, Just Magic.

5

Re: Language

i dont have folder data! I have: demos; downloadedmaps; dumps; maps; screenshots
and two files settings.cfg and masters.cfg! where should i add the file?

6 (edited by GBKing 2012-04-27 18:08:10)

Re: Language

Not in '/home/user/.teeworlds/' , but in your installation folder, so maybe '/home/teeworlds'

7

Re: Language

i downloaded it from Ubuntu Market so i dont know exactly where it install all the files

8 (edited by GBKing 2012-04-27 18:31:28)

Re: Language

I installed it form the Ubuntu software center too and can't find it either big_smile
I tried searching it with 'sudo find / -name teeworlds 2> /dev/null' , but nothing

EDIT:
Found it, the Teeworlds folder is in '/usr/share/games/teeworlds', when installed from the Software Center!

9

Re: Language

This is like offtopic but how do you change the premissions to root folder?
I need it beacuase it don't alow me to paste files in data folder

10

Re: Language

sudo chmod -R o+w /usr/share/games/teeworlds

Although not the best idea. Will do fine on your desktop system though.

Edit: hasifee's suggestion is better, look below.

Edit 2: maybe you can also put the file in .teeworlds/data/languages (would have to be the index file too)

11 (edited by hasifee 2012-04-28 21:01:21)

Re: Language

There is another way, that not changes the permissions of the folder.
Start your texteditor with root:

sudo gedit

Then just save your text at the directory you want. I tried it with Gimp to create new
skins or map resources. It worked fine and I dont have to change anything at the
filesystem.

12 (edited by TeePhoenix 2012-06-10 16:18:09)

Re: Language

Deleted.

The face of terrorism is called United States of America!

13 (edited by hasifee 2012-04-28 21:31:16)

Re: Language

TeePhoenix wrote:

In this case it is better to change the rights of the stuff you want to modify instead of using software as root, because such software could easily damage your system and the whole rights system gets useless for this software! You should avoid using software as root whenever possible, especially complex desktop software like gimp!

Sorry for that bit off-topic, but (just as example) how can something like
Gimp be a security thread for my system? Maybe I missed something while
informing myself about Linux but I couldnt think about any possibility
that affects my system just by starting software with root permission.
(as far as i do know the software Im starting with root. I wouldnt be stupid enough
to start some suspicous programs with it)

14

Re: Language

hasifee wrote:

Sorry for that bit off-topic, but (just as example) how can something like
Gimp be a security thread for my system? Maybe I missed something while
informing myself about Linux but I couldnt think about any possibility
that affects my system just by starting software with root permission.
(as far as i do know the software Im starting with root. I wouldnt be stupid enough
to start some suspicous programs with it)

You should always work with the principle of least privilege, which means that you should only grant all programs the rights that they really use. You can't know whether your 'trusted' programs like gimp have bugs - if they have (and they do have, hardly any program is bugfree) and someone finds a way to exploit the bug, he might be able to acquire the root rights of the program you trust, and thus compromising your computer.

15 (edited by TeePhoenix 2012-06-10 16:17:58)

Re: Language

Deleted.

The face of terrorism is called United States of America!

16

Re: Language

Ah ok :3 Thanks you two. I now better watch out what Im doing with my system o_o.
I really appreciate your explanations smile