Cant find language source file

General questions regarding the use of languages in Joomla! 3.x.

Moderators: infograf768, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
BurakB
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Mon Apr 05, 2010 5:02 pm

Cant find language source file

Postby BurakB » Sun Apr 16, 2017 12:18 am

Could anyone please go to site "waste-trading.com/index.php/tr/" and tell me where the system is getting the translations for the below texts? They should be in Turkish but they come up as English. I tried to find their source so I can translate them myself but could not find its source (I use Joomla 3.6 native translation features)

- MAIN PAGE - "LEARN ME" button on top module
- MAIN PAGE - "SEND US A MESSAGE" button and "Location" text in the module titled "Adresimiz" towards the left bottom of the page.

(I have also put their visuals in the attached image)

Thank you in advance!
You do not have the required permissions to view the files attached to this post.

User avatar
imanickam
Joomla! Master
Joomla! Master
Posts: 26264
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: Cant find language source file

Postby imanickam » Sun Apr 16, 2017 2:30 am

If the text strings mentioned are hard coded then you have to open the corresponding module for Edit and check in the options for those strings.

To find out if the text strings are hard coded or coming from a language string, in the Global Configuration, in the tab "System", for the option "Debug language" choose the value "Yes". After saving the settings, when you view the site, at the bottom you will notice different sections with headings and one of them is "Untranslated Strings". In that section check whether any untranslated strings are listed. If the value is "None" that means the text strings you mentioned are hard coded. If there are values listed then you can create a Language Override to translate those strings.

The document https://docs.joomla.org/J3.x:Language_Overrides_in_Joomla would be of help in understanding how to create language strings.

Note:
The template that is being used in the site is a commercial template. So, not everyone will have visibility into what is happening and how things are laid out within the template.
- Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
http://www.eegan.org - helping the poor and underprivileged
educate. empower. enrich.
Support the poor and underprivileged

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

Re: Cant find language source file

Postby Per Yngve Berg » Sun Apr 16, 2017 9:00 am

When you enable Language Debug, you can also see if the string is translated as it will be printed as *String* or ?String?. String without it is hardcoded.

BurakB
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Mon Apr 05, 2010 5:02 pm

Re: Cant find language source file

Postby BurakB » Sun Apr 16, 2017 6:12 pm

Not sure I fully understand where I need to look at, however, I have taken the screenshots below.

Unless, this is because (as someone has above mentioned) the template is a paid one and it is not showing it, I really cannot see anything that is a reference to the text I am having trouble about.
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: 23664
Joined: Mon Oct 27, 2008 9:27 pm
Location: Akershus, Norway

Re: Cant find language source file

Postby Per Yngve Berg » Sun Apr 16, 2017 6:38 pm

You have to look at the Turkish Pages when Language Debug is on.

Does it show as ?
**LEARN ME**
**SEND US A MESSAGE**

BurakB
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Mon Apr 05, 2010 5:02 pm

Re: Cant find language source file

Postby BurakB » Mon Apr 17, 2017 11:22 am

I don't think so!

I have attached the images from the Debugged Turkish pages view (will spread them to 2 messages as for some reason it wont accept them all in one message).

Sorry for bombarding you with images but not sure if I am quite getting the situation here.

Thank you
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: 23664
Joined: Mon Oct 27, 2008 9:27 pm
Location: Akershus, Norway

Re: Cant find language source file

Postby Per Yngve Berg » Mon Apr 17, 2017 11:46 am

You are missing a Turkish Translation of the Template (tr-TR.tp_stratawerks.ini)
Translate the English file. It's probably just a few lines.

The Modules do not use translation. You have to modify the layout file for them, adding JTEXT().

https://docs.joomla.org/Formatted_fields_in_language_translation_strings

BurakB
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Mon Apr 05, 2010 5:02 pm

Re: Cant find language source file

Postby BurakB » Mon Apr 17, 2017 1:06 pm

Is is this file in the temp folder?

LOCATION: waste-trading.com/templates/stratawerks/language
FILE: en-GB.tpl_stratawerks.ini

1- What do I do with the translated tr-TR version? Put in same folder or do I need to create a separate folder for it?
2- What do I do about the "en-GB.tpl_stratawerks.sys.ini" file that is in the same folder?

ALSO, having checked the contents of the above file (see below please) it dont seem relevant for the front end. These are more about the system I'd think.

Do I really need to translate this?

; JoomlaXTC stratawerks
;
TPL_JXTC_GRIDS_LABEL="Grid configuration"
TPL_JXTC_LAYOUTS_FIELDESC="Layouts control the position of content in the website.<br><br>Each one can have its own set of default values."
TPL_JXTC_LAYOUTS_INTRO="This is the layout intro text on language file"
TPL_JXTC_LAYOUTS_LABEL="Layouts configuration"
TPL_JXTC_STYLES_INTRO="This is the style intro text on language file"
TPL_JXTC_STYLES_LABEL="Styles configuration"
TPL_JXTC_TYPOS_LABEL="Typography configuration"
TPL_JXTC_VIEWLAYOUT="View layout"
TPL_STRATAWERKS_POSITION_ARTICLEBOTTOM="Articlebottom"
TPL_STRATAWERKS_POSITION_BANNER="Banner"
TPL_STRATAWERKS_POSITION_BANNER7="Banner7"
TPL_STRATAWERKS_POSITION_BOTTOM1="Bottom1"
TPL_STRATAWERKS_POSITION_BOTTOM2="Bottom2"
TPL_STRATAWERKS_POSITION_BOTTOM3="Bottom3"
TPL_STRATAWERKS_POSITION_BOTTOM4="Bottom4"
TPL_STRATAWERKS_POSITION_BOTTOM5="Bottom5"
TPL_STRATAWERKS_POSITION_BOTTOM6="Bottom6"
TPL_STRATAWERKS_POSITION_BREADCRUMB="Breadcrumb"
TPL_STRATAWERKS_POSITION_DEBUG="Debug"
TPL_STRATAWERKS_POSITION_FOOTER="Footer"
TPL_STRATAWERKS_POSITION_INSET="Inset"
TPL_STRATAWERKS_POSITION_LEFT="Left"
TPL_STRATAWERKS_POSITION_LEFT10="Left10"
TPL_STRATAWERKS_POSITION_LEFT11="Left11"
TPL_STRATAWERKS_POSITION_LEFT2="Left2"
TPL_STRATAWERKS_POSITION_LEFT4="Left4"
TPL_STRATAWERKS_POSITION_LEFT5="Left5"
TPL_STRATAWERKS_POSITION_LEFT6="Left6"
TPL_STRATAWERKS_POSITION_LEFT7="Left7"
TPL_STRATAWERKS_POSITION_LEFT8="Left8"
TPL_STRATAWERKS_POSITION_LEFT9="Left9"
TPL_STRATAWERKS_POSITION_LEGALS="Legals"
TPL_STRATAWERKS_POSITION_MENUBARLEFT="Menubarleft"
TPL_STRATAWERKS_POSITION_MENURIGHT1="Menuright1"
TPL_STRATAWERKS_POSITION_MENURIGHT2="Menuright2"
TPL_STRATAWERKS_POSITION_NEWSFLASH="Newsflash"
TPL_STRATAWERKS_POSITION_PATHWAY="Pathway"
TPL_STRATAWERKS_POSITION_RIGHT="Right"
TPL_STRATAWERKS_POSITION_RIGHT10="Right10"
TPL_STRATAWERKS_POSITION_RIGHT11="Right11"
TPL_STRATAWERKS_POSITION_RIGHT2="Right2"
TPL_STRATAWERKS_POSITION_RIGHT4="Right4"
TPL_STRATAWERKS_POSITION_RIGHT5="Right5"
TPL_STRATAWERKS_POSITION_RIGHT6="Right6"
TPL_STRATAWERKS_POSITION_RIGHT7="Right7"
TPL_STRATAWERKS_POSITION_RIGHT8="Right8"
TPL_STRATAWERKS_POSITION_RIGHT9="Right9"
TPL_STRATAWERKS_POSITION_SHOWCASE1="Showcase1"
TPL_STRATAWERKS_POSITION_SHOWCASE2="Showcase2"
TPL_STRATAWERKS_POSITION_SHOWCASE3="Showcase3"
TPL_STRATAWERKS_POSITION_SHOWCASE4="Showcase4"
TPL_STRATAWERKS_POSITION_SHOWCASE5="Showcase5"
TPL_STRATAWERKS_POSITION_SHOWCASE6="Showcase6"
TPL_STRATAWERKS_POSITION_SIDEBARLEFT="Sidebarleft"
TPL_STRATAWERKS_POSITION_SIDEBARRIGHT="Sidebarright"
TPL_STRATAWERKS_POSITION_TOP="Top"
TPL_STRATAWERKS_POSITION_TOP1="Top1"
TPL_STRATAWERKS_POSITION_TOP2="Top2"
TPL_STRATAWERKS_POSITION_TOP3="Top3"
TPL_STRATAWERKS_POSITION_TOP4="Top4"
TPL_STRATAWERKS_POSITION_TOP5="Top5"
TPL_STRATAWERKS_POSITION_TOP6="Top6"
TPL_STRATAWERKS_POSITION_TOPLEFT="Topleft"
TPL_STRATAWERKS_POSITION_TOPRIGHT="Topright"
TPL_STRATAWERKS_POSITION_USER1="User1"
TPL_STRATAWERKS_POSITION_USER10="User10"
TPL_STRATAWERKS_POSITION_USER11="User11"
TPL_STRATAWERKS_POSITION_USER12="User12"
TPL_STRATAWERKS_POSITION_USER13="User13"
TPL_STRATAWERKS_POSITION_USER14="User14"
TPL_STRATAWERKS_POSITION_USER15="User15"
TPL_STRATAWERKS_POSITION_USER16="User16"
TPL_STRATAWERKS_POSITION_USER17="User17"
TPL_STRATAWERKS_POSITION_USER18="User18"
TPL_STRATAWERKS_POSITION_USER19="User19"
TPL_STRATAWERKS_POSITION_USER2="User2"
TPL_STRATAWERKS_POSITION_USER20="User20"
TPL_STRATAWERKS_POSITION_USER21="User21"
TPL_STRATAWERKS_POSITION_USER22="User22"
TPL_STRATAWERKS_POSITION_USER23="User23"
TPL_STRATAWERKS_POSITION_USER24="User24"
TPL_STRATAWERKS_POSITION_USER25="User25"
TPL_STRATAWERKS_POSITION_USER26="User26"
TPL_STRATAWERKS_POSITION_USER27="User27"
TPL_STRATAWERKS_POSITION_USER28="User28"
TPL_STRATAWERKS_POSITION_USER29="User29"
TPL_STRATAWERKS_POSITION_USER3="User3"
TPL_STRATAWERKS_POSITION_USER30="User30"
TPL_STRATAWERKS_POSITION_USER31="User31"
TPL_STRATAWERKS_POSITION_USER32="User32"
TPL_STRATAWERKS_POSITION_USER33="User33"
TPL_STRATAWERKS_POSITION_USER34="User34"
TPL_STRATAWERKS_POSITION_USER35="User35"
TPL_STRATAWERKS_POSITION_USER36="User36"
TPL_STRATAWERKS_POSITION_USER37="User37"
TPL_STRATAWERKS_POSITION_USER38="User38"
TPL_STRATAWERKS_POSITION_USER39="User39"
TPL_STRATAWERKS_POSITION_USER4="User4"
TPL_STRATAWERKS_POSITION_USER40="User40"
TPL_STRATAWERKS_POSITION_USER41="User41"
TPL_STRATAWERKS_POSITION_USER42="User42"
TPL_STRATAWERKS_POSITION_USER43="User43"
TPL_STRATAWERKS_POSITION_USER44="User44"
TPL_STRATAWERKS_POSITION_USER45="User45"
TPL_STRATAWERKS_POSITION_USER46="User46"
TPL_STRATAWERKS_POSITION_USER47="User47"
TPL_STRATAWERKS_POSITION_USER48="User48"
TPL_STRATAWERKS_POSITION_USER49="User49"
TPL_STRATAWERKS_POSITION_USER5="User5"
TPL_STRATAWERKS_POSITION_USER50="User50"
TPL_STRATAWERKS_POSITION_USER51="User51"
TPL_STRATAWERKS_POSITION_USER52="User52"
TPL_STRATAWERKS_POSITION_USER53="User53"
TPL_STRATAWERKS_POSITION_USER54="User54"
TPL_STRATAWERKS_POSITION_USER55="User55"
TPL_STRATAWERKS_POSITION_USER56="User56"
TPL_STRATAWERKS_POSITION_USER57="User57"
TPL_STRATAWERKS_POSITION_USER58="User58"
TPL_STRATAWERKS_POSITION_USER59="User59"
TPL_STRATAWERKS_POSITION_USER6="User6"
TPL_STRATAWERKS_POSITION_USER60="User60"
TPL_STRATAWERKS_POSITION_USER7="User7"
TPL_STRATAWERKS_POSITION_USER8="User8"
TPL_STRATAWERKS_POSITION_USER9="User9"

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

Re: Cant find language source file

Postby Per Yngve Berg » Mon Apr 17, 2017 1:49 pm

It's /languages/en-GB/en-GB.tpl_stratawerks.ini

The one with the sys in the name is as you have discovered for admin tasks.

BurakB
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Mon Apr 05, 2010 5:02 pm

Re: Cant find language source file

Postby BurakB » Mon Apr 17, 2017 1:55 pm

LOCATION: language/en-GB/
FILE: en-GB.tpl_stratawerks.ini

Have checked that file too just now and that has the exact same content in it. Nothing there that would display on the front end. Should I still translate it??

Also, I did not quite get what to do about you previous suggestion (quoted below)


***QUOTE BEGINNING***
The Modules do not use translation. You have to modify the layout file for them, adding JTEXT().

https://docs.joomla.org/Formatted_field ... on_strings

***QUOTE END***

Do I need to code in somewhere to have joomla display the turkish translation wherever it sees LEARN ME?

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

Re: Cant find language source file

Postby Per Yngve Berg » Mon Apr 17, 2017 2:21 pm

Yes you have to override /modules/mod_XXXX/tmpl/default.php and add translation code.

BurakB
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Mon Apr 05, 2010 5:02 pm

Re: Cant find language source file

Postby BurakB » Tue Apr 18, 2017 7:27 pm

Per... Please can you please be a little more specific? I do not understand HOW to do what you say?

- Which module are we talking about?
- What is the code I need to enter?
- Where do I enter it?

Thank you.

BurakB
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Mon Apr 05, 2010 5:02 pm

Re: Cant find language source file

Postby BurakB » Mon Apr 24, 2017 10:11 pm

Per Yngve Berg wrote:Yes you have to override /modules/mod_XXXX/tmpl/default.php and add translation code.


Kindly check your PM.

Thank you.
Burak

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

Re: Cant find language source file

Postby Per Yngve Berg » Tue Apr 25, 2017 7:16 am

I can help you with the code if you post the code in the file.

BurakB
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Mon Apr 05, 2010 5:02 pm

Re: Cant find language source file

Postby BurakB » Wed Apr 26, 2017 11:09 pm

Per Yngve Berg wrote:I can help you with the code if you post the code in the file.


This is the problem! I do not understand what code, what file you are talking about :'( :'( :'(

I literally need dummies instructions with this?

What file?
What code?
What location?

:(


Return to “Language - Joomla! 3.x”

Who is online

Users browsing this forum: No registered users and 3 guests