Temporary Alternative Language Pack Creation

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

Moderator: 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.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
Matt Bourne
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 156
Joined: Mon Aug 12, 2013 2:33 pm

Temporary Alternative Language Pack Creation

Post by Matt Bourne » Tue Apr 04, 2023 10:34 pm

Hi

I need to build a new multilingual site on Joomla 4, unfortunately, my native language pack is not yet ready

So, since I need to build the new multilingual menu setup, at least before the completed language pack is available, and my site can be updated automatically later when the actual language pack were rolled into production

I'm modifying the default en-US version into my version, the language pack is installable and detected in the backend

These is the files edited to my requirements
install.xml
langmetadata.xml
pkg_en-US.xml

And this is the working results

https://prnt.sc/t6XFPHxb_ldd
https://prnt.sc/8jFmbjDy7-RL

Image
Image

Secondly, where my problem starts

I did use the multilingual sample data installer like below

https://prnt.sc/OHCafvYz9zSK
Image

But the flag and menu of the new language is not displayed on the frontend.. means something is not right here

https://prnt.sc/B9CYwoJdjA2G
Image

So, my question is, how? where is the code line that need i edit to completely fix this issue?

I believe there's many user out there that have the same issue like me, where this post might tremendously helping them, even though it would be a temporary fix -- but greatly needed this time
I use the powerful Joomla SP Page Builder from joomshaper.com in all my web projects

User avatar
ceford
Joomla! Hero
Joomla! Hero
Posts: 2794
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: Temporary Alternative Language Pack Creation

Post by ceford » Wed Apr 05, 2023 4:56 am

Your second image shows that your custom language is not enabled. Could it be as simple as that?

Matt Bourne
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 156
Joined: Mon Aug 12, 2013 2:33 pm

Re: Temporary Alternative Language Pack Creation

Post by Matt Bourne » Wed Apr 05, 2023 12:40 pm

Thank you

I did enabled it in the latest attempt here, but still no luck yet

https://prnt.sc/Vv8NQBZOrNnu

I think I did overlooked somewhere, the code that need to be adjusted to make it pickup the new language flag and menu creation options in the frontend
I use the powerful Joomla SP Page Builder from joomshaper.com in all my web projects

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

Re: Temporary Alternative Language Pack Creation

Post by imanickam » Thu Apr 06, 2023 7:54 am

Click on the link titled Multilingual Status (that is before the link titled Post Installation Messages) in the status bar.

A pop-up window will appear that would show the status of all the settings of required for a multilingual site.

Note:
Next time, please do not blur the text in the screenshots. Also, if you could attach the language pack that you have created, others could test it as well and this would help in offering suggestions.
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged


Locked

Return to “Language - Joomla! 4.x”