Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Portugueses international Charset


8 replies to this topic

#1 joao.silva

  • Community Member
  • 1 posts
  • Real Name:Joao Silva

Posted 22 June 2011, 14:19

Greating im new in Oscomerce, and i am experiecing somo probles with portoguese language does it hapens to someone else
Best regards
João silva
From portugal

#2 Yekxmerr

  • Community Member
  • 6 posts
  • Real Name:Yekx Merr
  • Gender:Male

Posted 09 July 2011, 22:51

View Postjoao.silva, on 22 June 2011, 14:19, said:

Greating im new in Oscomerce, and i am experiecing somo probles with portoguese language does it hapens to someone else
Best regards
João silva
From portugal

I attached the solution to your problem. ( Oscommerce 2.3.1 PT, just put it on your includes/languages )

PT: Tens aqui a solução, isso é por causa dos languages pack não estarem em UTF8, e tens de alterar ficheiro a ficheiro.

Attached Files


Edited by Yekxmerr, 09 July 2011, 22:53.


#3 MarioVagarinho

  • Community Member
  • 3 posts

Posted 02 August 2011, 12:25

View PostYekxmerr, on 09 July 2011, 22:51, said:

I attached the solution to your problem. ( Oscommerce 2.3.1 PT, just put it on your includes/languages )

PT: Tens aqui a solução, isso é por causa dos languages pack não estarem em UTF8, e tens de alterar ficheiro a ficheiro.


HEEELLLLLLPPPPP

Instalei a linguagem e agora estou sem acesso ao site e ao painel "admin"...

Recebo estas mensagens:
Warning: require(includes/languages//catalog/includes/languages/port.php) [function.require]: failed to open stream: No such file or directory in /home/mundolog/public_html/catalog/includes/application_top.php on line 279

Warning: require(includes/languages//catalog/includes/languages/port.php) [function.require]: failed to open stream: No such file or directory in /home/mundolog/public_html/catalog/includes/application_top.php on line 279

Fatal error: require() [function.require]: Failed opening required 'includes/languages//catalog/includes/languages/port.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mundolog/public_html/catalog/includes/application_top.php on line 279

#4 MarioVagarinho

  • Community Member
  • 3 posts

Posted 04 August 2011, 19:55

when I type

http:/mysite/catalog/admin


I get this messages:

Warning: require(includes/languages/portugues.php) [function.require]: failed to open stream: No such file or directory in /home/mundolog/public_html/catalog/admin/includes/application_top.php on line 167

Warning: require(includes/languages/portugues.php) [function.require]: failed to open stream: No such file or directory in /home/mundolog/public_html/catalog/admin/includes/application_top.php on line 167

Fatal error: require() [function.require]: Failed opening required 'includes/languages/portugues.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mundolog/public_html/catalog/admin/includes/application_top.php on line 167


Can somebody help me???? please!!!!!

#5 MarioVagarinho

  • Community Member
  • 3 posts

Posted 05 August 2011, 15:09

View PostMarioVagarinho, on 04 August 2011, 19:55, said:

when I type

http:/mysite/catalog/admin


I get this messages:

Warning: require(includes/languages/portugues.php) [function.require]: failed to open stream: No such file or directory in /home/mundolog/public_html/catalog/admin/includes/application_top.php on line 167

Warning: require(includes/languages/portugues.php) [function.require]: failed to open stream: No such file or directory in /home/mundolog/public_html/catalog/admin/includes/application_top.php on line 167

Fatal error: require() [function.require]: Failed opening required 'includes/languages/portugues.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mundolog/public_html/catalog/admin/includes/application_top.php on line 167


Can somebody help me???? please!!!!!


Problem resolved ;)

#6 deblynprado

  • Community Member
  • 1 posts
  • Real Name:deblynprado

Posted 30 August 2011, 20:38

how ?

#7 adelgado

  • Community Member
  • 19 posts
  • Real Name:Antonio Delgado

Posted 25 October 2011, 22:58

Hello!

Can someone help this newbie ??? :)

I just downloaded and unzipped the file posted by Yekxmerr, which contains a folder (portugues) and a file portugues.php

What do I do with the folder? Upload it to Languages? And about about the portugues.php file? Where do I place it?

Any other steps, besides adding language from localization in control panel?

Thanks for your help

#8 adelgado

  • Community Member
  • 19 posts
  • Real Name:Antonio Delgado

Posted 17 November 2011, 16:42

Hello!

In this translation pack, the term "or remove" (to remove an item from the shopping cart) in the cart has not been translated .... can someone tell me which file to look at so I can change this into portuguese?

Neste pack de traducao, o termo "or remove" (para remover um item do carrinho de compras) no carrinho nao estah traduzido.... serah q alguem me pode indicar qual o ficheiro onde posso fazer a traducao?

Thanks and regards

#9 RJMA

  • Community Member
  • 4 posts
  • Real Name:Ricardo Amaro

Posted 13 January 2012, 18:58

Hello adelgado.

To change the term you need to open the file "shopping_cart.php" in the "catalog" folder and edit the line 97. Be careful, so you don't change where you're no suppose to.

There is the original line. Where you need to change is underlined and in red:


$products_name .= '<br /><br />' . tep_draw_input_field('cart_quantity[]', $products[$i]['quantity'], 'size="4"') . tep_draw_hidden_field('products_id[]', $products[$i]['id']) . tep_draw_button(IMAGE_BUTTON_UPDATE, 'refresh') . '&nbsp;&nbsp;&nbsp;or <a href="' . tep_href_link(FILENAME_SHOPPING_CART, 'products_id=' . $products[$i]['id'] . '&action=remove_product') . '">remove</a>';


Must look like this:


$products_name .= '<br /><br />' . tep_draw_input_field('cart_quantity[]', $products[$i]['quantity'], 'size="4"') . tep_draw_hidden_field('products_id[]', $products[$i]['id']) . tep_draw_button(IMAGE_BUTTON_UPDATE, 'refresh') . '&nbsp;&nbsp;&nbsp;ou <a href="' . tep_href_link(FILENAME_SHOPPING_CART, 'products_id=' . $products[$i]['id'] . '&action=remove_product') . '">Remover</a>';



Another thing, this modification isn´t in the language pack, but in the base files of osCommerce.

I'll try to find a away to change this, because if a visitor change the language he is using, in this case it will always shown the Portuguese term.

Edited by RJMA, 13 January 2012, 19:08.