Uwe Jacobs
Forum Replies Created
-
Forum: Plugins
In reply to: [OWM Weather] Translation does not load correctlyThat is really odd. There’s another translator (Estonian) who has the same issue. I finished the German translation and for me, it shows up everywhere.
I’ll continue to look into it. It shouldn’t be that difficult.
Forum: Plugins
In reply to: [OWM Weather] Custom languageThat is really odd. I copied the .pot file to owm-weather-et.po in the own-weather/lang/ directory. Then I used Google Translate to translate just the menu phrases. Finally, I created the .mo file with msgfmt and set the WordPress site language to Eesti. As you can see, the menu items are now showing up in Estonian: https://imgur.com/1VDaHkY. I also finished the German translations. When I set the site language to Deutsch, everything shows up in German. Same with the partial Spanish translation (site language Espaniol). Could you try setting the WordPress site language to Deutsch and check if the custom post name Weather changes to Wetter?
Forum: Plugins
In reply to: [OWM Weather] Translation does not load correctlyHi Carlos,
Thanks for your kind words and your translation efforts.
I made some changes to the textdomain and menu loading order in version 5.1.2. Please update to the new version and try again.
Also, I gladly add your translation (with acknowledgment) to the plugin once you are done.
Thanks,
UweForum: Plugins
In reply to: [OWM Weather] Custom languageI made some changes to the textdomain and menu loading order in version 5.1.2. Please update to the new version and try again.
Forum: Plugins
In reply to: [OWM Weather] Custom languageWhen I tested this myself, at first I forgot to give the copied files the correct permission and it didn’t work. Can you double-check the permission for the owm-weather-et.mo file.
Forum: Plugins
In reply to: [OWM Weather] Custom languageThe WP_LANG variable for site language Eesti is just “et” – not “et_EE”. Please rename your files to owm-weather-et.po/mo and it should work.
Forum: Reviews
In reply to: [OWM Weather] Excellent PluginGreat addition! Thanks a lot. I will add this to OWM Weather in one of the future releases.
Forum: Plugins
In reply to: [OWM Weather] Custom languageThe language for OWM Weather itself is governed by the WordPress System setting “Site Language”, see https://imgur.com/rgdAwEr. If your WordPress site language is set to “et_EE”, OWM Weather will pick up the translations from owm-weather-et_EE.mo.
The weather post setting “OpenWeatherMap language?” is for the language that openweathermap.org will send back with its data (see the list of languages at https://openweathermap.org/api/one-call-api#multi). It is not influenced by anything that’s in the .pot or .po files. I’ll revise the description in one of the future releases.
Does that make sense?
Forum: Plugins
In reply to: [OWM Weather] Custom languageOWM Weather automatically uses the language from the general system settings. There is no other setting within OWM Weather.
Your .po looks correct but it does not have any translations yet.
Is your language set to “Eesti” in the system settings?
Forum: Plugins
In reply to: [OWM Weather] Custom languageI revised all translation stubs and created the master .pot file in the lang subdirectory.
You need to create the files owm-weather-xx_XX.po and owm-weather-xx_XX.mo (xx_XX is your language code) and place them in the lang sub-directory. The .pot file helps you to get started should you only have the free PoEdit version.
I will gladly add your translation files to the plugin (with proper acknowledgment in the readme file).There is very useful information on WordPress Localization at https://developer.www.ads-software.com/apis/handbook/internationalization/localization/.
Forum: Plugins
In reply to: [OWM Weather] Map not workingThe city temperatures do not work for all zoom levels. Whenever the zoom is too high, the API returns the error 400 Bad Request (not 404 not found) in the background.
The stations layer has been discontinued and I took the option out.
Forum: Plugins
In reply to: [OWM Weather] Map not workingI just released version 5.0.9 which fixes the map layers not displaying. The map still uses the old (free) Weather Maps 1.0 version.
Forum: Plugins
In reply to: [OWM Weather] Radar Not WorkingI just released version 5.0.9 which fixes the map layers not displaying. The map still uses the old (free) Weather Maps 1.0 version.
Forum: Plugins
In reply to: [OWM Weather] Radar Not WorkingIt appears that OpenWeatherMap switched to Weather Maps 2.0 and discontinued the older version that OWM Weather is using. I will fix this in one of the upcoming versions. I requested access to the Weather Maps 2.0 API but haven’t heard back yet.
Forum: Plugins
In reply to: [OWM Weather] Map not workingI requested access to the Weather Maps 2.0 API but haven’t heard back yet.