WordPress.org

Ready to get started?Download WordPress

Forums

Custom Business Locations
Language files (2 posts)

  1. bett00
    Member
    Posted 8 months ago #

    How can i translate the week days into spanish.

    Thanks

    http://wordpress.org/plugins/custom-business-locations/

  2. swohlert
    Member
    Posted 5 months ago #

    <td>
    
                                                            <?php if($day == 'Monday') echo 'Ma.';
                                                            if($day == 'Tuesday') echo 'Di.';
                                                            if($day == 'Wednesday') echo 'Wo.';
                                                            if($day == 'Thursday') echo 'Do.';
                                                            if($day == 'Friday') echo 'Vr.';
                                                            if($day == 'Saturday') echo 'Za.';
                                                            if($day == 'Sunday') echo 'Zo.'; ?>
                                                            </td>
                                                            <?php if( $closed ) : ?>
                                                                <td><i>( Gesloten )</i></td>
                                                            <?php else : ?>
                                                                <td><i><?php echo $from ?> - <?php echo $to ?></i></td>

    I've added this to the code to display the days short in my language

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.