How to translate these?

General questions regarding the use of languages in Joomla! 1.5.

Moderator: General Support Moderators

Locked
balsamatora
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Tue Feb 07, 2012 3:40 pm

How to translate these?

Post by balsamatora » Tue Feb 07, 2012 8:04 pm

Hi,

I installed Bulgarian as a language for the website but Login, Register, Tools and Cart remained in English. Would you please tell me how to translate them into Bulgarian.
You do not have the required permissions to view the files attached to this post.

User avatar
janhelge
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 157
Joined: Wed Dec 26, 2007 8:24 am
Location: Norway
Contact:

Re: How to translate these?

Post by janhelge » Tue Feb 07, 2012 8:06 pm

Hi, you must go to Extensions>Language manager and make Bulgarian as default language

balsamatora
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Tue Feb 07, 2012 3:40 pm

Re: How to translate these?

Post by balsamatora » Tue Feb 07, 2012 8:10 pm

janhelge wrote:Hi, you must go to Extensions>Language manager and make Bulgarian as default language
Hi, I made that and everything else (for example Tyrsene instead of Search, etc.) is alright. However, these 4 buttons are not translated.
There is another problem - few of the field in the Register form are not translated as well. Here is a screenshot.
You do not have the required permissions to view the files attached to this post.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 25953
Joined: Mon Oct 27, 2008 9:27 pm
Location: Akershus, Norway

Re: How to translate these?

Post by Per Yngve Berg » Tue Feb 07, 2012 8:26 pm

Enable Debug and Lanugage Debug in Global Configuration.

A list of loaded language files are at the bottom of the page.

All text is shown with "text" for not translated text, "*text*" for translated text and "?text?" for missing text in language file.

Do you have a Bulgarian Language Pack for all 3.party extensions?
Are they all up to date with the version you are running?

balsamatora
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Tue Feb 07, 2012 3:40 pm

Re: How to translate these?

Post by balsamatora » Tue Feb 07, 2012 8:47 pm

Per Yngve Berg wrote:Enable Debug and Lanugage Debug in Global Configuration.

A list of loaded language files are at the bottom of the page.

All text is shown with "text" for not translated text, "*text*" for translated text and "?text?" for missing text in language file.

Do you have a Bulgarian Language Pack for all 3.party extensions?
Are they all up to date with the version you are running?
I enabled them. Here is website's address: www.krasivabg.com

I know of only 1 Bulgarian language pack and that's what I installed.

That's what is at the bottom of the page:
Untranslated phrases diagnostic

DEFAULT FONT SIZE ::include() [/home/krasivab/public_html/templates/gk_mystore/libs/gk.template.helper.php:39]
REGISTER ::require() [/home/krasivab/public_html/libraries/joomla/application/module/helper.php:173]
SITE SLOGAN ::include() [/home/krasivab/public_html/templates/gk_mystore/libs/gk.template.helper.php:39]
SKIP TO CONTENT ::include() [/home/krasivab/public_html/templates/gk_mystore/libs/gk.template.helper.php:39]
SKIP TO CONTENT ::include() [/home/krasivab/public_html/templates/gk_mystore/libs/gk.template.helper.php:39]

•Untranslated phrases designer

# /home/krasivab/public_html/templates/gk_mystore/libs/gk.template.helper.php

DEFAULT FONT SIZE=Default font size
SITE SLOGAN=SITE SLOGAN
SKIP TO CONTENT=Skip to content

# /home/krasivab/public_html/libraries/joomla/application/module/helper.php

REGISTER=REGISTER

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 25953
Joined: Mon Oct 27, 2008 9:27 pm
Location: Akershus, Norway

Re: How to translate these?

Post by Per Yngve Berg » Tue Feb 07, 2012 8:57 pm

You need a Bulgarian Language Pack for your template.

If no language pack is available, translate the English file.

language/en-GB/en-GB.tpl_gk_mystore.ini

balsamatora
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Tue Feb 07, 2012 3:40 pm

Re: How to translate these?

Post by balsamatora » Tue Feb 07, 2012 9:05 pm

I tried to modify the English file.
Now they are displaying "??????"

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 25953
Joined: Mon Oct 27, 2008 9:27 pm
Location: Akershus, Norway

Re: How to translate these?

Post by Per Yngve Berg » Tue Feb 07, 2012 9:55 pm

Have you saved the file as UTF8 without BOM?

Do not use Notepad in Windows. Download Notepad++ from download.com

balsamatora
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Tue Feb 07, 2012 3:40 pm

Re: How to translate these?

Post by balsamatora » Tue Feb 07, 2012 10:26 pm

Per Yngve Berg wrote:Have you saved the file as UTF8 without BOM?

Do not use Notepad in Windows. Download Notepad++ from download.com
That worked perfectly! Thank you!
Though there is something strange - at the Register form, the field Name doesn't change even after I translate it into Bulgarian. Could there be something that overrides it ?

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 25953
Joined: Mon Oct 27, 2008 9:27 pm
Location: Akershus, Norway

Re: How to translate these?

Post by Per Yngve Berg » Wed Feb 08, 2012 2:22 pm

Can be defined in another language file.

balsamatora
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Tue Feb 07, 2012 3:40 pm

Re: How to translate these?

Post by balsamatora » Wed Feb 08, 2012 8:20 pm

That's the en-GB.tpl_gk_mystore.ini :
YOUAH=
BACK TO TOP=Back to Top
TOP=Top
MOBILE VERSION=Mobile Version
DESKTOP VERSION=Desktop Version
SWITCH TO STANDARD MODE CONFIRMATION=Switch to standard mode? Switch back to mobile view via a link at the bottom of the page in standard mode
DO NOT SHOW THIS MESSAGE AGAIN=Не показвай отново
CLOSE THIS NOTICE=Затвори
GK_LOGIN=Вход
GK_LOGOUT=Изход
GK_REGISTER=Регистрирай се
GK_TOOLS=Шрифт
LOGIN=Вход
LOGOUT=Изход
GK_CART=Количка
GK_ITEMS=бр.
NAME=Име
REGISTER=Регистрирай се
VERIFY_PASSWORD=Потвърди парола
REGISTER_REQUIRED=* Полета са задължителни
IE6_BAR=Internet Explorer cannot render properly this page. Please click to read more...

Would you mind checking it for me, please?
I can give you access to my file system.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 25953
Joined: Mon Oct 27, 2008 9:27 pm
Location: Akershus, Norway

Re: How to translate these?

Post by Per Yngve Berg » Wed Feb 08, 2012 8:57 pm

Have you searched the other language files for the keyword?

Did you save the file as bul-BG.tpl_gk_mystore.ini in the bul-BG folder after translation?

balsamatora
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Tue Feb 07, 2012 3:40 pm

Re: How to translate these?

Post by balsamatora » Wed Feb 08, 2012 9:12 pm

Yes, saved it as bul-BG.tpl_gk_mystore.ini.

I checked the other files but they are a lot and many of them contain =Name. I tried to rename few of them but it didn't work.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 25953
Joined: Mon Oct 27, 2008 9:27 pm
Location: Akershus, Norway

Re: How to translate these?

Post by Per Yngve Berg » Wed Feb 08, 2012 9:18 pm

Does it show as *Name* when Language Debug is on?

balsamatora
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Tue Feb 07, 2012 3:40 pm

Re: How to translate these?

Post by balsamatora » Wed Feb 08, 2012 9:36 pm

Per Yngve Berg wrote:Does it show as *Name* when Language Debug is on?
Yes:
•Name•:

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 25953
Joined: Mon Oct 27, 2008 9:27 pm
Location: Akershus, Norway

Re: How to translate these?

Post by Per Yngve Berg » Wed Feb 08, 2012 9:43 pm

Then it's translated. Have you checked all the files in the loaded language files list?

balsamatora
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Tue Feb 07, 2012 3:40 pm

Re: How to translate these?

Post by balsamatora » Wed Feb 08, 2012 10:20 pm

/home/krasivab/public_html/language/bg-BG/bg-BG.ini 1
/home/krasivab/public_html/administrator/language/bg-BG/bg-BG.plg_system_plg_jamenuparams.ini
/home/krasivab/public_html/administrator/language/en-GB/en-GB.plg_system_plg_jamenuparams.ini 1
/home/krasivab/public_html/language/bg-BG/bg-BG.plg_system_debug.ini 1
/home/krasivab/public_html/language/bg-BG/bg-BG.com_jcomments.ini
/home/krasivab/public_html/language/en-GB/en-GB.com_jcomments.ini 1
/home/krasivab/public_html/language/bg-BG/bg-BG.com_content.ini 1
/home/krasivab/public_html/language/bg-BG/bg-BG.com_k2.ini
/home/krasivab/public_html/language/en-GB/en-GB.com_k2.ini 1
/home/krasivab/public_html/language/bg-BG/bg-BG.tpl_gk_mystore.ini
/home/krasivab/public_html/language/en-GB/en-GB.tpl_gk_mystore.ini 1
/home/krasivab/public_html/language/bg-BG/bg-BG.mod_virtuemart_cart.ini
/home/krasivab/public_html/language/en-GB/en-GB.mod_virtuemart_cart.ini
/home/krasivab/public_html/language/bg-BG/bg-BG.mod_gk_register.ini
/home/krasivab/public_html/language/en-GB/en-GB.mod_gk_register.ini
/home/krasivab/public_html/language/bg-BG/bg-BG.mod_login.ini 1
/home/krasivab/public_html/language/bg-BG/bg-BG.mod_mainmenu.ini 1
/home/krasivab/public_html/language/bg-BG/bg-BG.mod_easyscript.ini
/home/krasivab/public_html/language/en-GB/en-GB.mod_easyscript.ini
/home/krasivab/public_html/language/bg-BG/bg-BG.mod_virtuemart_search.ini
/home/krasivab/public_html/language/en-GB/en-GB.mod_virtuemart_search.ini
/home/krasivab/public_html/language/bg-BG/bg-BG.mod_virtuemart_latestprod.ini
/home/krasivab/public_html/language/en-GB/en-GB.mod_virtuemart_latestprod.ini
/home/krasivab/public_html/language/bg-BG/bg-BG.mod_product_categories.ini
/home/krasivab/public_html/language/en-GB/en-GB.mod_product_categories.ini
/home/krasivab/public_html/language/bg-BG/bg-BG.mod_gk_tab.ini
/home/krasivab/public_html/language/en-GB/en-GB.mod_gk_tab.ini 1
/home/krasivab/public_html/language/bg-BG/bg-BG.mod_gk_image_show.ini
/home/krasivab/public_html/language/en-GB/en-GB.mod_gk_image_show.ini 1
/home/krasivab/public_html/language/bg-BG/bg-BG.mod_breadcrumbs.ini 1
/home/krasivab/public_html/language/bg-BG/bg-BG.mod_search.ini 1
/home/krasivab/public_html/language/bg-BG/bg-BG.mod_banners.ini 1

I checked all the files I could find in the appointed directory.
Few of the files above were missing or invisible.
I've checked all the files that were visible at the directory and they all did not contain =Name

Do you agree to check this for me, please? I can give you access to my file system. Thank you!

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 25953
Joined: Mon Oct 27, 2008 9:27 pm
Location: Akershus, Norway

Re: How to translate these?

Post by Per Yngve Berg » Wed Feb 08, 2012 10:46 pm

Did you also check administrator/language?

balsamatora
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Tue Feb 07, 2012 3:40 pm

Re: How to translate these?

Post by balsamatora » Wed Feb 08, 2012 10:56 pm

Per Yngve Berg wrote:Did you also check administrator/language?
Yes, I checked everything that my knowledge can deal with.

balsamatora
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Tue Feb 07, 2012 3:40 pm

Re: How to translate these?

Post by balsamatora » Thu Feb 09, 2012 6:53 pm

What am I supposed to search for in those files? =Name ?

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 25953
Joined: Mon Oct 27, 2008 9:27 pm
Location: Akershus, Norway

Re: How to translate these?

Post by Per Yngve Berg » Thu Feb 09, 2012 7:17 pm

It's better to search for the keyword (what's in front of the =).


Locked

Return to “Language - Joomla! 1.5”