private void setLanguage() {
		try {
			
    		if(createNewStream) {
    			//the title if a new stream is created
        		setTitle(trans.getString("newStream"));
			} else if (defaultStream) {
				//the title when the default options are editable
        		setTitle(trans.getString("editDefaultOptions"));
			} else if (stream != null){
				//the options when a stream should edit
        		setTitle(trans.getString("editStream")+" "+stream.name);
			} else {
				//for all other options // fallback
				setTitle(trans.getString("editStream")+" "+stream.name);
			}
    		
    		//tabs
    		tabbedPane.setTitleAt(0, trans.getString("tab0"));
    		tabbedPane.setTitleAt(1, trans.getString("tab1"));
    		tabbedPane.setTitleAt(2, trans.getString("tab2"));
    		
    		//first JPanel
    		baseOptionsTitle.setTitle(trans.getString("baseOption.title"));
    		StreamNameLabel.setText(trans.getString("StreamNameLabel"));
    		StreamURLLabel.setText(trans.getString("StreamURLLabel"));
    		StreamWebsiteLabel.setText(trans.getString("StreamWebsiteLabel"));
    		StreamCommentLabel.setText(trans.getString("StreamCommentLabel"));
    		StreamGenreLabel.setText(trans.getString("StreamGenreLabel"));
    		
    		//fileOptionsPanel
    		fileOptionsTitle.setTitle(trans.getString("fileOptionsPanel.title"));
    		allInOneCheckBox.setText(trans.getString("fileOptionsPanel.saveSingleFile"));
    		lengthRecordCheckBox.setText(trans.getString("fileOptionsPanel.maxLength"));
    		maxSizeMBCheckBox.setText(trans.getString("fileOptionsPanel.maxSize"));
    		runIndexCheckBox.setText(trans.getString("fileOptionsPanel.addSequence"));
    		patternCheckBox.setText(trans.getString("fileOptionsPanel.usePattern"));
    		
    		//overWriteCompletePanel
    		overWriteCompleteTitle.setTitle(trans.getString("overWriteCompletePanel.title"));
    		overWriteAllCheckBox.setText(trans.getString("overWriteCompletePanel.OverwriteEverComp"));
    		overWriteNeverCheckBox.setText(trans.getString("overWriteCompletePanel.OverwriteNeverComp"));
    		overWriteLargerCheckBox.setText(trans.getString("overWriteCompletePanel.OverwriteLargerComp"));
    		overWriteVersionCheckBox.setText(trans.getString("overWriteCompletePanel.OverwriteVersionComp"));
    		
    		//otherOptionsPanel
    		otherOverWriteTitle.setTitle(trans.getString("otherWriteRulesPanel.title"));
    		truncateCheckBox.setText(trans.getString("otherWriteRulesPanel.Truncate"));
    		dontOverCheckBox.setText(trans.getString("otherWriteRulesPanel.dontOverIncomp"));
    		noDirForStreamCheckBox.setText(trans.getString("otherWriteRulesPanel.dontCreatDir"));
    		dCreateInvTracksCheckBox.setText(trans.getString("otherWriteRulesPanel.dCreateInvTracks"));
    		
    		//relayServerPanel
    		relayServerTitle.setTitle(trans.getString("relayServerPanel.title"));
    		relayServerCheckBox.setText(trans.getString("relayServerPanel.realyServer"));
    		realyConnectionsLabel.setText("      "+trans.getString("relayServerPanel.maxConnections"));
    		relayConnect.setText(trans.getString("relayServerPanel.playReal"));
    		createRelayFileCB.setText(trans.getString("relayServerPanel.createPlaylist"));
    		
    		//otherOptionsPanel
    		otherOptionsTitle.setTitle(trans.getString("otherOptionsPanel.title"));
    		skipTracksCheckBox.setText(trans.getString("otherOptionsPanel.skiptedTracks"));
    		metaDataRuleFileCB.setText(trans.getString("otherOptionsPanel.metaDataRuleFile"));
    		interfaceCB.setText(trans.getString("otherOptionsPanel.interface"));
    		externalCmdMetaDataCB.setText(trans.getString("otherOptionsPanel.externalCmdMetaData"));
    		freeArgumentCB.setText(trans.getString("otherOptionsPanel.freeArgument"));
    		
    		//connectionSettingsPanel
    		connectionTitle.setTitle(trans.getString("connectionSettingsPanel.title"));
    		proxyCheckBox.setText(trans.getString("connectionSettingsPanel.httpProxy"));
    		timeoutReconnectCheckBox.setText(trans.getString("connectionSettingsPanel.timeout"));
    		useragentCheckBox.setText(trans.getString("connectionSettingsPanel.Useragent"));
    		dontScanPortCheckBox.setText(trans.getString("connectionSettingsPanel.DontScan"));
    		dontReconnectCheckBox.setText(trans.getString("connectionSettingsPanel.DontAutoReco"));
    		
    		//codesetPanel
    		codeSetTitle.setTitle(trans.getString("codesetPanel.title"));
    		codesetRelayCB.setText(trans.getString("codesetPanel.codesetRelay"));
    		codesetMetadataCB.setText(trans.getString("codesetPanel.codesetMetadata"));
    		codesetID3CB.setText(trans.getString("codesetPanel.codesetID3"));
    		codesetFilesysCB.setText(trans.getString("codesetPanel.codesetFilesys"));

    		//splitPointPanel
    		splitPointTitle.setTitle(trans.getString("splitPointPanel.title"));
    		xs2CB.setText(trans.getString("splitPointTitle.xs2"));
    		xsOffsetCB.setText(trans.getString("splitPointTitle.xsOffset"));
    		xsPaddingCB.setText(trans.getString("splitPointTitle.xsPadding"));
    		xsSearchCB.setText(trans.getString("splitPointTitle.xsSearch"));
    		xsSilenceCB.setText(trans.getString("splitPointTitle.xsSilence"));
    		
    		//idTagPanel
    		idTagTitle.setTitle(trans.getString("idTagPanel.title"));
    		id3tagV1CB.setText(trans.getString("idTagPanel.id3tagV1"));
    		id3tagV2CB.setText(trans.getString("idTagPanel.id3tagV2"));

    		//buttons
    		abortButton.setText(trans.getString("abortButton"));
    		saveButton.setText(trans.getString("save"));
			saveAndExitButton.setText(trans.getString("okButton"));
    	} catch ( MissingResourceException e ) { 
		      SRSOutput.getInstance().logE( e.getMessage() ); 
	    }
	}