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
Latest News: (loading..)
Portugueses international Charset
Started by joao.silva, Jun 22 2011, 14:19
8 replies to this topic
#1
Posted 22 June 2011, 14:19
#2
Posted 09 July 2011, 22:51
joao.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
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
Posted 02 August 2011, 12:25
Yekxmerr, 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.
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
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!!!!!
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
Posted 05 August 2011, 15:09
MarioVagarinho, 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!!!!!
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
Posted 30 August 2011, 20:38
how ?
#7
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
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
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
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
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') . ' 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') . ' 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.
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') . ' 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') . ' 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.















