6 votes
Accepted

JText - multilingual string order

Add further abstraction. JText::sprintf('COM_MYCOMPONENT_DATETIME_AGO', $num, JText::_('SHOUT_TIME'), JText::_('SHOUT_AGO')); English language COM_MYCOMPONENT_DATETIME_AGO="%1$s %2$s %3$s" German ...
  • 2,981
5 votes
Accepted

How to create a custom 404 Error page for every language

you also could use the standard 404 (or similar) php-file of your template if it already exists. The Joomla! alias standard would be /404 or /404.html according to the global configuration for the ...
  • 86
5 votes
Accepted

Joomla 3.9 not reading language override strings for English only

I was not able to duplicate your issue. I used the Joomla core Beez3 template to test this, where the template by default has the language files in main (Joomla root) Language folder and at the same ...
  • 2,616
4 votes
Accepted

Multilingual Joomla site with multiple domains

There is a nice free plugin Language Domains from Yireo, which allows you to switch the domain-name as soon as a specific language is selected. Each domain is bound to a language, by configuring ...
  • 3,007
4 votes

Language switcher doesn't show all languages

To create a multi-language website you need to: install and enable other languages enable language plug-in assign default menu item for each language create content languages for each language Make ...
3 votes
Accepted

Location detection in joomla

I wouldn't personally base the language on where the user is located. For example, I'm English but lived in Spain for some years, however I would still want to view a site in English, given the choice....
  • 26.7k
3 votes

Joomla 3.0 direct link to file with multi language

That's a bit strange, I guess it should be related to how you have linked the pdf. From where you link the pdf? In any case a direct hard-coded link to the pdf file like: images/sample.pdf ...
  • 19.6k
3 votes

How to setup a new multi-language website?

Take a look at our http://www.neno-translate.com it will fix issues like these when you install it and makes it easy to translate and manage your multilingual content.
3 votes
Accepted

How to add a language pack (or language specific string overrides) to a template?

There are a couple of ways to deal with this. 1. Create a German language ini file for your template. a. Go to languages folder -> EN-GB b. Spot your template's EN-GB language file: e.g. en-GB....
  • 19.6k
3 votes

How to create many pages with the same content except for one variable?

Check the JED for any suitable Mass Content extensions which can help with uploading bulk articles and menu options: https://extensions.joomla.org/tags/mass-content For example, I have used OSContent ...
3 votes
Accepted

Using Language Constant File in a Module

Yes, you set them up in a similar way to components. In your module directory create a folder language, and then a subfolder for the language within that, and into that subfolder put your language ...
2 votes

How to use Smart Search in a multilingual environment?

I was having the same problem today. On my categories I had a "master" category for each language as suggested on a multi-language website. The normal search and smart search both seem not to search ...
  • 131
2 votes

Google crawler and browser language detection

Have you set up your site to be multilingual - i.e. separate menu for each language with corresponding and linked articles? What settings do you have on the multilingual side of things - e.g. the ...
  • 191
2 votes
Accepted

Root URL in multilanguage Installation

Try the following: <a title="title" class="navbar-brand" href="<?php echo JURI::root(); ?>"></a> or <a title="title" class="navbar-brand" href="<?php echo JURI::base(); ?&...
2 votes

Joomla 3.4 Multi-language site functionality

From what I have read, it seems you'd prefer to have all content automatically translated. Seeing as this is most likely the case, I don't think Falang would be necessary. Joomla has made ...
  • 26.7k
2 votes
Accepted

Change administrator site language through phpmyadmin

Based on the error you provided in the screenshot, you need to go to the following file: public_html/hammer/administrator/language/fo-FO/fo-FO.lcalise.php at the top of the file, you will see the ...
  • 26.7k
2 votes

Change administrator site language through phpmyadmin

So you are not able to access the backend correct? You just see a white page when you try to do so? if that is the case you should enable error reporting in order to see what is causing the issue. ...
2 votes

How to create a custom 404 Error page for every language

Based on: How to detect the current language of a Joomla! website? Creating a Custom 404 Error Page $lang = JFactory::getLanguage(); $result = $lang->getTag(); if (($this->error->getCode(...
2 votes

Joomla 3.0 direct link to file with multi language

Not sure of your configuration for multi-language but I suspect the /en/ is coming from the language plugin config. As a workaround, you could create a new "hidden" menu item for an external location ...
  • 677
2 votes

Multilingual Joomla site with multiple domains

Try adding the following to your .htaccess file. RewriteEngine on RewriteRule ^se(.*)$ http://www.mydomain.se$1 [R=301,L] RewriteRule ^dk(.*)$ http://www.mydomain.dk$1 [R=301,L] If you only have a ...
  • 26.7k
2 votes
Accepted

Multilingual site: Why do I need the language "all"?

Since version 1.7, Joomla requires Home menu item for 'All' languages, as soon as you enable System - Language Filter plugin and have Language Switcher module published. That menu item can be stored ...
  • 3,007
2 votes
Accepted

How to insert a link to some file in multilangual website

You have this error because the default language in your site is "en", the language is managed by joomla!, not by directories, we have some solutions: First of all, maybe the best way is create a new ...
2 votes
Accepted

One link to point a multilanguage article

Joomla router just doesn't work that way. Only way you could have a link /article-for-all is to create a menu for each article and to manualy set that alias in both menu items, because Search ...
  • 3,007
2 votes

Duplicated template files

all the language files of the frontend side template is located in the language folder. for example if you have protostar template : en-GB.tpl_protostar.ini en-GB.tpl_protostar.sys.ini then these ...
  • 1,791
2 votes

How to use joomla language in a script?

According to this issue, as of Joomla 3.3.0 core.js was rewritten in jQuery, including Joomla.JText. If you're using that version or later and core.js is loading on our page, then the Mootools issue ...
  • 890
2 votes

How to add a language pack (or language specific string overrides) to a template?

So, in my case it was that the strings were hard-coded into the template through the inclusion of a single language pack in the template language folder for English. What I did was to create my own ...
  • 537
2 votes

Fallback language when translation does not exist

Duplicating untranslated articles is a good option. Also, you can set the language of untranslated articles to "All", until you have a translation, then set the correct language for each translation. ...
2 votes
Accepted

How to create many pages with the same content except for one variable?

The simple administration method would be Install Regular Labs' Add To Menu plugin After saving the first article, click the Add To menu button and quickly add Next, do Save as copy and change the ...
  • 178
2 votes

How to create many pages with the same content except for one variable?

Personally, I would make the first one. Then download the database file from PHPMyAdmin as a CSV file. If you want you can only export the relevant tables for ease. Then I would use Excel or Google ...
  • 1,879
2 votes

Change user default language programmatically

If you want to change the language of the site, you can store the language in the user param language and you will have to load it on your condition on plugin events such as onAfterRoute or ...
  • 486

Only top scored, non community-wiki answers of a minimum length are eligible