English translation not permanent  [SOLVED]

BrazilFW 3.xhelp discussions in English.

English translation not permanent

Mensagempor rsleegers » Qua Out 27, 2010 4:43 pm

I created an updated /var/language/brazilfw.en-us file for version 3.0.237 (see below) using instructions from http://www.brazilfw.com.br/forum/viewtopic.php?f=94&t=71499. After a web page refresh a file is created /var/htdocs/webadmin/include/brazilfw.en-us.js and everything works. I click on save config and reboot, but everything goes back to pt-br. How do I make the changes permanent?

brazilfw.en-us:
Código: Selecionar todos
CHARSET="ISO-8859-1"
BFW0001="System Information"
BFW0002="Machine Name"
BFW0003="Domain"
BFW0004="CPU"
BFW0005="Kernel"
BFW0006="Compiled"
BFW0007="Firewall Version"
BFW0008="Uptime"
BFW0009="Virtual Disk"
BFW0010="Virtual File System"
BFW0011="Memory"
BFW0012="Consumption"
BFW0013="Information"
BFW0014="Iptables"
BFW0015="Internet Traffic"
BFW0016="bits per second"
BFW0017="Entry"
BFW0018="Exit"
BFW0019="Current"
BFW0020="Average"
BFW0021="Maximum"
BFW0022="Total"
BFW0023="Unit"
BFW0024="Used"
BFW0025="Free"
BFW0026="Shutdown"
BFW0027="Restart"
BFW0028="Click OK to $BFW0027 BrazilFW"
BFW0029="Click OK to $BFW0026 BrazilFW"
BFW0030="Please wait ..."
BFW0031="Checking files ..."
BFW0032="Checking for updates ..."
BFW0033="Downloading update"
BFW0034="Installing update"
BFW0035="An unexpected error occurred.<br>Run the update again."
BFW0036="No new updates available for your system"
BFW0037="Could not verify the files.<br>Please try again later."
BFW0038="System has been updated successfully.<br>Restart for the changes to take effect."
BFW0039="System"
BFW0040="Addons Manager"
BFW0041="Download certificate"
BFW0042="Addons"
BFW0043="Settings"
BFW0044="File Manager"
BFW0045="File"
BFW0046="Size"
BFW0047="Date"
BFW0048="Run"
BFW0049="Update"
BFW0050="Save"
BFW0051="IP"
BFW0052="Host"
BFW0053="State"
BFW0054="Comment"
BFW0055="Action"
BFW0056="Delete"
BFW0057="Edit"
BFW0058="Add"
BFW0059="Reload"
BFW0060="Reloading DNS Server"
BFW0061="Cancel"
BFW0062="IP address public/private"
BFW0063="Name of local or remote machine"
BFW0064="Name of the computer group"
BFW0065="Description"
BFW0066="Hosts"
BFW0067="Invalid IP Address"
BFW0068="Invalid IP Initial Class"
BFW0069="IP Address does not belong to a private network (RFC 1918)"
BFW0070="Invalid MAC address"
BFW0071="Not allowed to use special characters"
BFW0072="Invalid Domain"
BFW0073="Invalid Email"
BFW0074="Only numbers allowed"
BFW0075="Invalid Hostname"
BFW0076="The field can not be blank"
BFW0077="Check for update"
BFW0078="'Delete the host \"'+JHost+'\" ?'"
BFW0079="'Delete the MAC address \"'+JMac+'\" ?'"
BFW0080="MAC Address"
BFW0081="Reserved IP"
BFW0082="Tools"
BFW0083="MAC/IP Restrictions"
BFW0084="Physical address of the station (network interface)<br><b>Format:</b> <i>xx: xx: xx: xx: xx: xx</i>"
BFW0085="."
BFW0086="IP or MAC already registered, please check back!"
BFW0087="Reloading DHCP server"
BFW0088="Ports"
BFW0089="Redirection"
BFW0090="External Access"
BFW0091="$BFW0090 (Administrative)"
BFW0092="Active"
BFW0093="Port"
BFW0094="Protocol"
BFW0095="Yes"
BFW0096="No"
BFW0097="Settings"
BFW0098="Warning"
BFW0099="$BFW0098: The settings are changed and not saved."
BFW0100="$BFW0098: You must restart for the updates to take effect."
BFW0101="Saving"
BFW0102="Enables or disables external access"
BFW0103="Specify port (1-64535)"
BFW0104="Specify protocol"
BFW0105="$BFW0054 on the block"
BFW0106="Allowed values (1-64535)"
BFW0107="Reloading"
BFW0108="'Delete Port \"'+port+' - '+protocol+'\" ?'"
BFW0109="Loading data ..."
BFW0110="Source"
BFW0111="Destination"
BFW0112="Connection"
BFW0113="Port Forwarding"
BFW0114="'Delete Redirection '+IP+' ('+PORTSOURCE+' -> '+PORTDEST+')?'"
BFW0115="Enable or disable the redirection"
BFW0116="$BFW0054 on redirection"
BFW0117="Specify the connection"
BFW0118="Private IP address"
BFW0119="Mask"
BFW0120="Network $BFW0119"
BFW0121="Download"
BFW0122="Upload"
BFW0123="Download speed in kbits per second"
BFW0124="Upload speed in kbits per second"
BFW0125="Quality of Service Settings"
BFW0126="Enables or disables the Quality of Service"
BFW0127="Connection Limit"
BFW0128="Enables/disables the limit of simultaneous connections per IP"
BFW0129="IP Address/Group"
BFW0130="."
BFW0131="Great"
BFW0132="Good"
BFW0133="Bad"
BFW0134="'Delete the Quality of Service IP \"'+IP+'\"?'"
BFW0135="IP/Group already registered, please check back!"
BFW0136="Limit"
BFW0137="Jump"
BFW0138="Node"
BFW0139="Time (ms)"
BFW0140="$BFW0003/IP"
BFW0141="Traceroute"
BFW0142="Network"
BFW0143="Whois"
BFW0144="Ping"
BFW0145="Port Scan"
BFW0146="DNS Lookup"
BFW0147="Service"
BFW0148="Start"
BFW0149="End"
BFW0150="Range"
BFW0151="'Delete Redirection '+IP+' ('+PORTSTART+':'+PORTEND+')?'"
BFW0152="Upload Settings"
BFW0153="Submit"
BFW0154="Backup invalid!"
BFW0155="File type not recognized!"
BFW0156="Backup successfully restored!<br>Please restart for the changes to take effect."
BFW0157="Select the backup"
BFW0158="All"
BFW0159="Name"
BFW0160="Interface"
BFW0161="Operation Mode"
BFW0162="Modulation"
BFW0163="Channel"
BFW0164="Transmission Speed"
BFW0165="Power"
BFW0166="Access Point"
BFW0167="Security Options"
BFW0168="Format WEP"
BFW0169="Password"
BFW0170="Speed"
BFW0171="Duplex"
BFW0172="Auto Negotiation"
BFW0173="Physical Connection"
BFW0174="Identification of network interface in the system"
BFW0175="Physical device"
BFW0176="Sets the mode of operation"
BFW0177="Modulation of wireless<br><b>to:</b><i> 5.170 to 5.805 GHz - Max: 54 Mbps</i><br><b>b:</b> <i>2.412 to 2.484 GHz - Max: 11 Mbps</i><br><b>g:</b> <i>2.412 to 2.484 GHz - Max: 54 Mbps</i>"
BFW0178="Communication Channels"
BFW0179="Transmission speed (Mbps)"
BFW0180="Radio power (dBm)"
BFW0181="Identification of the wireless network"
BFW0182="Enable authentication"
BFW0183="Password Authentication"
BFW0184="Determines whether the password format is text mode<b></b><br>or <b>hex</b>"
BFW0185="Communication system"
BFW0186="Detects the network speed"
BFW0187="'Delete the physical connection \"'+JAlias+'\" ?'"
BFW0188="Recharging Network ..."
BFW0189="Customer"
BFW0190="Wired Network"
BFW0191="Wireless"
BFW0192="The password must contain between 8 and 63 characters"
BFW0193="The password must contain 10,26,32 or 58 hexadecimal characters"
BFW0194="The password must be 5,13,16 or 29 characters in text format"
BFW0195="Name already registered, please check again!"
BFW0196="Invalid filename!"
BFW0197="Connections"
BFW0198="Physical"
BFW0199="Open"
BFW0200="Signal (dBm)"
BFW0201="Search"
BFW0202="Disconnected"
BFW0203="Waiting for connection"
BFW0204="A new window will open, wait a moment ..."
BFW0205="Terminal"
BFW0206="Event Log"
BFW0207="Kernel"
BFW0208="Applications"
BFW0209="Arping"
BFW0210="Virtual"
BFW0211="Logic"
BFW0212="ARP Table"
BFW0213="Host(s) found"
BFW0214="Virtual connection"
BFW0215="Type"
BFW0216="Bridge"
BFW0217="Type of connection is created"
BFW0218="Physical connection to network"
BFW0219="'Delete Connection virtual \"'+JAlias+'\"?'"
BFW0220="You need at least two connections"
BFW0221="Reports"
BFW0222="User Access"
BFW0223="Cache"
BFW0224="Applications"
BFW0225="DHCP"
BFW0226="Range"
BFW0227="DHCP Server Settings"
BFW0228="Time out"
BFW0229="Start"
BFW0230="Stop"
BFW0231="Reset"
BFW0232="Preferred DNS"
BFW0233="Alternate DNS"
BFW0234="<i>(optional)</i>"
BFW0235="Server address <b>Name Resolution</b>"
BFW0236="Time in <b>seconds</b> the client will remain with the IP"
BFW0237="Enable/Disable the service"
BFW0238="."
BFW0239="Updating MAC/IP restrictions"
BFW0240="$BFW0239<br>$BFW0087"
BFW0241="Updating IP reservations<br>$BFW0087"
BFW0242="Internet"
BFW0243="Synchronize"
BFW0244="Time Zone"
BFW0245="Updating system time zone"
BFW0246="Sync Date/Time"
BFW0247="Allow external access to servers for name resolution"
BFW0248="'** If you use this option with external DNS,<br>you must enable the following option:<br><i>($BFW0247)</i><br>Settings -> DNS -> Settings'"
BFW0249="DNS Server Settings"
BFW0250="'* <i>This option overwrites the configured DNS on the local server.</i>'"
BFW0251="Warning"
BFW0252="DNS"
BFW0253="'Delete the range '+IP_INI+'/'+IP_END+'?'"
BFW0254="Exempt"
BFW0255="The IP address is not in the same class"
BFW0256="Range start larger than range end"
BFW0257="DHCP Server ($BFW0226)"
BFW0258="Range start"
BFW0259="Range end"
BFW0260="Concession"
BFW0261="DHCP Server ($BFW0260)"
BFW0262="Disable CONNLIMIT"
BFW0263="Reloading Service Quality"
BFW0264="Quality of Service"
BFW0265="Profile"
BFW0266="Priority"
BFW0267="Set the time zone"
BFW0268="Destination Ports"
BFW0269="Extreme"
BFW0270="Very High"
BFW0271="High"
BFW0272="Normal"
BFW0273="Low"
BFW0274="'Delete the type '+type+' priority '+prio+'?'"
BFW0275="Enables/disables the priority"
BFW0276="Rule type"
BFW0277="Priority of Connection"
BFW9998="You are using an outdated browser"
BFW9999="To navigate the webadmin, please update your browser."
rsleegers
 

Re: English translation not permanent

Mensagempor El guapo Dan » Qua Out 27, 2010 6:42 pm

Hi, dunno, but may be you're missing to do a backup before reboot...
El guapo Dan
 

Re: English translation not permanent

Mensagempor gamba47 » Qua Out 27, 2010 8:22 pm

At the moment you need to copy your file from /partition to the desired folder.

1. Create the file /partition/brazilfw.en-us.js
2. Edit rc.local
3. create a line like this:

Código: Selecionar todos
cp /partition/brazilfw.en-us.js /var/htdocs/webadmin/include/


4. Backup
5. Reboot

Post the results.

gamba47
Avatar do usuário
gamba47
BFW Beneméritos
 
Mensagens: 7243
Registrado em: Ter Dez 27, 2005 1:51 pm
Localização: Buenos Aires, Argentina
BrazilFW Box: Pentium4 1256mb RAM HD 200gb
BrazilFW 3.0.237 without Squid
3 ADSLs & 1 Cablemodem
50 Users & more!

Re: English translation not permanent (solved)  [SOLVED]

Mensagempor rsleegers » Qui Out 28, 2010 12:01 pm

Did not work at first, but almost there. If I add a line like this, then it works:

/etc/brazilfw/custom/rc.local
Código: Selecionar todos
cp /partition/brazilfw.en-us.js /var/htdocs/webadmin/include/
cp /partition/brazilfw.en-us /var/language/

I haven't edited the timezone.pt-br file but I imagine a similar line would work for it as well.
rsleegers
 


Voltar para BrazilFW 3.x - English Forum

Quem está online

Usuários navegando neste fórum: Nenhum usuário registrado e 1 visitante