We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Missing Language Keys (Dev Gone) - Solution | Forum

dave Leader
dave Apr 5 '19

Hi, someone asked me about missing lang keys regarding a plugin they purchased and the developer has long since left oxwall and does not reply to support requests.  I posted on that support forum but i wanted to share this here as well to help those that need help.


When you see lang key value on a site page instead of the actual text on a plugin  something like this: 


 pluginname+admin_tab_general_title


most of the time you can contact the dev and they will fix the issue and that is that.   


But what happens when you buy a plugin and there are tons of lang keys missing and the dev has just released an update recently or the dev has since "flew the coop" (vanished).  Well there are some things you can try.


In these cases it sounds like the dev forgot to import the new language keys after he updated the plugin.  


To spell this out here is the process that devs follow when updating the lang in a plugin.  


If they have a new text variable, they create that variable in the language file using the dev-tools portion of admin section using this process 


  https://wiki.oxwall.com/faq:site_configuration:manage_languages?s[]=dev&s[]=tools


Then when the dev is done with that process they MUST remember to export their lang file for the plugin and then upload it to the server of their dev version and overwrite  the langs.zip file.  This will allow them to use the most current copy of the langs file on their dev copy.   


They also need to remember to set the new import value for the new langs.zip file in the update folder of the update so that when a user updates they get the new lang.zip file imported to thier copy. 


I suspect that the dev either forgot to include the lang.zip import command in their update folder file or they saved their dev copy without exporting the current lang.zip version and including it in their released copy.  


Either way the solution is this: 


1. open up the last update folder for the plugin and look inside the update.php file... there should be a command that looks like this:


OW::getLanguage()->importPluginLangs(OW::getPluginManager()->getPlugin('PLUGINNAME')->getRootDir().'update/NUMBER/langs.zip', 'PLUGINNAME');


PLUGINNAME is the name of your plugin...  and the NUMBER is the number of the update folder... if the folder is named 7 then there should be a 7 for NUMBER


If that code is not in that file then add it...  the plugin name should be in lowercase. 


Make sure there is a langs.zip file in the update folder as well.  If it is not there then you need to download a fresh copy of your plugin from the oxwall server and upload the langs.zip folder from the plugin root to the update folder. 


Then uninstall the plugin and reinstall, clear your cache and you should now have the missing lang values. 


If that code is there and it has the right number and plugin name,  then that means that the dev forgot to update with the right copy of the langs.zip file...  In this case the fix is somewhat longer.... 


First i would download the plugin from your plugins list, then i would take the langs.zip file from the root of the plugin download and stick it into the update folder and also overwrite the langs.zip file in the plugin root on the server as well.  


To be cliear here, when an update is issued on a plugin the plugin root langs.zip file and the update folder (number of release) langs.zip file should be the most current version of those files.  So from your downloaded latest copy just overwrite both those locations. 


There should be two files in the update folder,  update.php and langs.zip   Just overwrite the langs.zip in the update folder with the one in the plugin root....   The reason is that its possible that the dev updated the root langs.zip folder but forgot to copy it over to the update folder. 


If that does not work then your stuck with creating the lang key values yourself using the 

dev-tools process.   Youll need to guess what the text should say and then add the lang key for that lang code using dev-tools.  But remember you need to do the same as the dev should have when you are done adding... export the lang file and upload it to the root plugin folder and update folder


I hope this helps.... sorry you all have to deal with this from that dev that decided to just leave and no longer support their product. 


Dave :) 



Oxwall Germany Club
Oxwall Germany Apr 5 '19
Topic was moved from Bug reports and troubleshooting.
Patricia Zorrilla Leader
Patricia Zorrilla Apr 21 '19
I have created a plugin that among many other things does this with a single click.

It is awaiting review, attached some images

Language Manager


Attachments:
  01.png (109Kb)
  02.png (117Kb)
  03.png (157Kb)
  04.png (122Kb)
William McDonald
William McDonald Dec 1 '21
Pretty understandable and helping material to all that would be wise and recommending. There should be the people who need the updates to explore about cheap assignment writing and able to get it here. I admire your updated work that would be great experience.
marian
marian Oct 10 '22
I have been using the phone wordle online  for a while and I can say that it makes the job very easy.
William321
William321 Oct 31 '22
Click Time & Language on the left, then Input in the right pane. Click on the “Advanced keyboard settings” option. If you want to configure the language bar to dock to the taskbar, simply uncheck Use desktop language bar when available and you're done. polrestanjungperak.com
The Forum post is edited by William321 Oct 31 '22
pukaka
pukaka Dec 15 '22
This website was a lot of fun for me. You are providing a fantastic resource, and you are giving it away for free. quordle
Ravina Sharma
Ravina Sharma May 18 '23

[url=http://www.jodhpurescortservice.com/nasirabad-escort]  Nasirabad Escorts [/url] ||

[url=http://www.jodhpurescortservice.com/pali-escort]  Pali Escorts [/url] ||

[url=http://www.jodhpurescortservice.com/pratapgarh-escort]  Pratapgarh Escorts [/url] ||

[url=http://www.jodhpurescortservice.com/pushkar-escort]  Pushkar Escorts [/url] ||

[url=http://www.24x7escort.co.in/Mandore-Escorts] Mandore Escort Service[/url] || 

[url=http://www.24x7escort.co.in/Mount-Abu-Escorts] Mount Abu Escort Service[/url] || 

[url=http://www.24x7escort.co.in/Nagaur-Escorts] Nagaur Escort Service[/url] || 

[url=http://www.24x7escort.co.in/Nasirabad-Escorts] Nasirabad Escort Service[/url] || 

[url=http://www.24x7escort.co.in/Neemrana-Escorts] Neemrana Escort Service[/url] || 

[url=http://www.24x7escort.co.in/Pali-Escorts] Pali Escort Service[/url] || 

[url=http://www.24x7escort.co.in/Pratapgarh-Escorts] Pratapgarh Escort Service[/url] || 

[url=http://www.24x7escort.co.in/Pushkar-Escorts] Pushkar Escort Service[/url] || 

[url=http://www.aliaa.in/Mandore-Escorts] Mandore Escort Service[/url] || 

[url=http://www.aliaa.in/Mount-Abu-Escorts] Mount Abu Escort Service[/url] || 

lawofe
lawofe Aug 2 '23
omg! can’t imagine how fast time pass, after August, ber months time already and Setempber is the first Christmas season in my place, I really love it! How to Add Friend on Venmo
lawofe
lawofe Aug 28 '23
Loving the information on this site, you have done outstanding job on the content . how to change characters in gta 5 ps4
lawofe
lawofe Aug 28 '23
Keep websiteing stuff like this I actually am fond of it How to Delete a Wallpaper on iOS 16
lawofe
lawofe Sep 10 '23
with thanks with regard to the particular article i have been on the lookout with regard to this kind of advice on the net for sum time these days and so with thanks find more info
lawofe
lawofe Sep 10 '23
Glad to be one of many visitants on this awesome site . vaobong
lawofe
lawofe Sep 17 '23
After have a look at only some of the blog posts on your internet web page now, and I absolutely like your method of blogging. I bookmarked it to my bookmark net website online file and could in all likelihood be checking back quickly. Pls try my net net web page as successfully and allow me realize what you accept as true with you studied. research chemicals
lawofe
lawofe Sep 23 '23
Thanks for the information provided! I was researching for this article for a long time, but I was not able to see a dependable source. ufabet เข้าสู่ระบบเว็บตรง
lawofe
lawofe Sep 24 '23
My favorite town out of all I’ve been to, has to be Zurich Switzerland. Switzerland is one of the best skiing areas. Something I absolutely love, it is peacefull and comforting. ufabet เข้าสู่ระบบเว็บตรง
lawofe
lawofe Sep 27 '23
Isn’t it outstanding if we continuously communicate about topics like that.:;-:~ ufabet เว็บตรงทางเข้า มือถือ
tatitac
tatitac Sep 30 '23
청주오피 is a sanctuary for those seeking holistic wellness.
lawofe
lawofe Sep 30 '23
I’ve presently started a weblog, and the statistics you provide in this internet net page has helped me notably. Thank you for all your time & paintings. ufabet เว็บตรงทางเข้า มือถือ
Pages: 1 2 »