The pfSense Store

Author Topic: web GUI in Spanish  (Read 14470 times)

0 Members and 1 Guest are viewing this topic.

Offline carlosmesa

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
web GUI in Spanish
« on: February 03, 2006, 04:31:43 pm »
We would be willing to pay 100 dollars for you to introduce in "Settings" an option to place the GUI in Spanish. 
 
It is easy. You only have to put variable that they take the data of a text file with the equivalent of assignment of variables in Spanish. 
 
We would be willing to translate to the Spanish language all the new modifications of the text file with variables, with each new version. 
 
It would be it something very interesting since the Spanish language is from all over the world the second more important language, after English. Pfsense would become a firewall with international entrance. 
 
What do you say of this proposal?


CARLOS MESA

Offline hoba

  • Administrator
  • Hero Member
  • *****
  • Posts: 5837
  • Karma: +3/-0
  • What was the problem to this solution again?
    • View Profile
    • pfSense
Re: web GUI in Spanish
« Reply #1 on: February 05, 2006, 01:16:55 pm »
Actually that is not that simple as it appears to be. You have to touch EVERY single page and introduce a new system for replacing all the different blurbs and have things like fontattributes, links, mouseover hints  and so on still working in multi languages. At the same time it makes the code more unreadable. I think none of the devs think that diving in this kind of work makes sense in the current state the project is in and if it makes sense at all is another topic to discuss (lots of high priced commercial devices don't offer this as well). Sure, offering money for a feature could change the point of view a bit but we are talking about A LOT of work here.

Offline Patrick_

  • Full Member
  • ***
  • Posts: 167
  • Karma: +0/-0
    • View Profile
    • LiquidObject
Re: web GUI in Spanish
« Reply #2 on: February 05, 2006, 05:09:18 pm »
The easiest way to do this would also be the hardest to template out everything in a way which would look for separate config files for each language. Granted it's a real pain and a lot of work to do.
--------------------------------------------------------------------------------------
pfSense Documentation Wiki
pfctl reference
Personal Blog

Offline Emab

  • Full Member
  • ***
  • Posts: 198
  • Karma: +0/-0
    • View Profile
    • be @head
Re: web GUI in Spanish
« Reply #3 on: February 06, 2006, 03:40:30 am »
I think that remove all the text from the page to make it loaded from an external file, is not so good during the develpment.
My idea is to leave the english text and add a tag to identify that:

Old Code:
Code: [Select]
<p class="pgtitle">System: Advanced functions</p>
<form action="system_advanced.php" method="post" name="iform" id="iform">
<p><span class="vexpl"><span class="red"><strong>Note: </strong></span>the options on this page are intended for use by advanced users only.</span></p>
<br />

New code:
Code: [Select]
<p class="pgtitle"><!--LANG-ID_START=ADVANCED_TITLE-->System: Advanced functions<!--LANG-ID_END=ADVANCED_TITLE--></p>
<form action="system_advanced.php" method="post" name="iform" id="iform">
<p><span class="vexpl"><!--LANG-ID_START=ADVANCED_NOTE--><span class="red"><strong>Note: </strong></span>the options on this page are intended for use by advanced users only.<!--LANG-ID_END=ADVANCED_NOTE--></span></p>
<br />

And, if the language is different from english pars the text to replace the text between the tag.

I know that this is not the best way to do multilanguage interface, but this is the best I can think to do that ad leave easy the development.

Offline sullrich

  • Hero Member
  • *****
  • Posts: 5110
  • Karma: +3/-0
    • View Profile
    • pfSense
Re: web GUI in Spanish
« Reply #4 on: February 06, 2006, 09:16:27 am »
What needs to happen is for us to settle down with a template system with gettext support. 

Then this is possible but by no means is it easy work.




Offline carlosmesa

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: web GUI in Spanish
« Reply #5 on: February 09, 2006, 04:39:58 am »
I don't believe that it is so difficult. I am only speaking of having a webGUI in Spanish. Only that. 
 
We have collaborated in other translations to Spanish of other projects. It is not so difficult. I place you a localization example to Spanish carried out by us: http://www.insidepro.com 
 
It is based it on placing texts like variables. 
 
Then, a called file exists SPANISH.LNG that contains the equivalent of each variable in Spanish. Of course, there is a called file ENGLISH.LNG with all the texts in English. And so forth. 
 
I am willing to pay 200 dollars for this work. 
 
I believe that Pfsense in several languages would be fantastic, and the best firewall in the whole market. With this system, you would find people that wanted to translate to their language the texts. It is possible that in little time you were able to have Pfsense in 10 or more languages. Something incredible. 
 
It is more complicated for the development, but Pfsense it will win an international prestige that other commercial firewalls doesn't have.


CARLOS MESA

Offline fernandotcl

  • Jr. Member
  • **
  • Posts: 59
  • Karma: +0/-0
    • View Profile
Re: web GUI in Spanish
« Reply #6 on: February 21, 2006, 02:00:07 pm »
We are working on that as I talk. Is the deal still up?

Offline carlosmesa

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: web GUI in Spanish
« Reply #7 on: March 03, 2006, 12:28:37 pm »
Is better because we go up the offer to 600 dollars. 
 
If you are interested you can contact with me in carlosmesa(dot__)carlosmesa.com
 
I hope Pfsense can be in Spanish some day.


CARLOS MESA

Gettext http://www.gnu.org/software/gettext/

Offline carlosmesa

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: web GUI in Spanish
« Reply #8 on: March 10, 2006, 03:52:07 am »
Finally we have taken charge the adaptation from the code to Fernando Lemos, of Netfiler.com.br so that Pfsense can be in Spanish, and in any other language. 
 
Fernando will charge the 600 dollars that we offered for this work. 
 
Thanks to other people that have contacted with me to make this work.


CARLOS MESA

Offline sullrich

  • Hero Member
  • *****
  • Posts: 5110
  • Karma: +3/-0
    • View Profile
    • pfSense
Re: web GUI in Spanish
« Reply #9 on: April 22, 2006, 12:28:00 pm »
Please note that this situation has changed.

Freekazoide has done all the heavy hitting and implemented all the gettext() changes required.  He is now translating to Portugese.

With that said, we need volunteers for other languages.   Who wants to help??    Spanish and German are accounted for so far.

Offline carlosmesa

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: web GUI in Spanish
« Reply #10 on: April 22, 2006, 01:05:04 pm »
Hi,

I can take charge of translating to the Spanish language. Where is the file in English for me to begin to translate to Spanish? I have time for me to be the official translator to Spanish.


CARLOS MESA

Offline sullrich

  • Hero Member
  • *****
  • Posts: 5110
  • Karma: +3/-0
    • View Profile
    • pfSense

Offline carlosmesa

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: web GUI in Spanish
« Reply #12 on: April 22, 2006, 01:26:17 pm »
Ok,

I begin with the translation. In some days I will have the translation from this file to Spanish. When I finish, where do I send the file in Spanish?


CARLOS MESA

Offline sullrich

  • Hero Member
  • *****
  • Posts: 5110
  • Karma: +3/-0
    • View Profile
    • pfSense
Re: web GUI in Spanish
« Reply #13 on: April 22, 2006, 01:27:34 pm »

Offline Emab

  • Full Member
  • ***
  • Posts: 198
  • Karma: +0/-0
    • View Profile
    • be @head
Re: web GUI in Spanish
« Reply #14 on: April 23, 2006, 11:08:29 am »
I can traslate into italian...
Where is the English version of the file to start from?

Thanks!