• Resolved zcesty

    (@zcesty)


    Hi, I have two problems:

    1) with plugin CodeStyling Localization I translated this plugin in to czech language and I saved files nwm-cs_CZ.mo and nwm-cs_CZ.po in folder languages. Unfortunatelly plugin still talk english. Where is problem?

    2) I can not find place in database, where is definition of ‘curent maps’ saved. I find ‘map id’ and ‘name maps’.

    Thank you for answers.

    https://www.ads-software.com/plugins/nomad-world-map/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi,

    1) Can you send the translated files to tijmen at nomadworldmap.com and I will have a look

    2) The normal route entries are saved to a table named “your db name” + nwm_routes and nwm_custom for the custom entered route data. The names of the maps itself are saved in the options table of WordPress itself in a field called “nwm_map_ids” What are you planning on changing in the db?

    Thread Starter zcesty

    (@zcesty)

    Thank you for fast answers. This plugin is good and it helps me

    1) ok I will send files to your email, thanks
    2) I need write out last place from each route to sidebar on home page.

    I clearly didn’t test the translation function. It is called in the wrong place.

    If you where to add this code to nomad-world-map.php itself, and remove it from the nwm-admin-functions.php your translations will work. I will fix this in the next release ??

    add_filter( 'wp_loaded', 'nwm_load_textdomain' );
    
    function nwm_load_textdomain() {
    	load_plugin_textdomain( 'nwm', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
    }

    I have the same problem.

    Tried to translate the plugin to Norwegian (nb_NO), but it doesn’t work.
    I checked and the function nwm_load_textdomain() is in the right place.

    any ideas??

    @kristian can you email the translation files to tijmen at nomadworldmap.com? Then I can have a look.

    It translates the admin area, but not the list in frontend.(Location, Arrival, Departure )

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Translate plugin and database’ is closed to new replies.