WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Change CALENDAR language?! (27 posts)

  1. Bucki
    Member
    Posted 1 year ago #

    Hi

    I want to keep the english version, cos is better :)
    however, I like to change the CALENDAR language ?!

    Changing the "define('WPLANG', 'to_whatever');"
    will change the whole DASHBOARD into the new language
    which I do not want to.

    However, I like to change calendar names:

    January, February, March, April => into my language!
    Wonder where the DATE.PHP script or file is located ?!

    Thanks

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    There isn't a date.php script to locate. Do you happen to know if your chosen theme is translation-ready?

  3. Bucki
    Member
    Posted 1 year ago #

    the thame name is BROADWAY.
    No the calendar is not translated cos the dates are shown as

    October 8th, 2012

  4. Bucki
    Member
    Posted 1 year ago #

    ... how come then, when changing the WordPress
    main language , then it will also change the calendar namings into that particular language ?!

  5. esmi
    Forum Moderator
    Posted 1 year ago #

    I didn't ask if they were translated. I asked if the theme was translation-ready. Where did you download this theme from?

  6. Bucki
    Member
    Posted 1 year ago #

    I didnt download ... someone else did, he only asking me for help, but I dont even know where to accomplish that!!

  7. esmi
    Forum Moderator
    Posted 1 year ago #

    Because that's controlled by WordPress core. If you want front-end changes only, you need a translation-ready theme and a suitable translation file.

  8. Bucki
    Member
    Posted 1 year ago #

    see that is what I mean ... probably, I need the ENGLISH LANGUAGE .mo files :) change them there and it might work!?

    However, wordpress does not include the folder /languages/ with the english.mo files - any ideas where to get them!?

  9. esmi
    Forum Moderator
    Posted 1 year ago #

    What is your site's url?

  10. Bucki
    Member
    Posted 1 year ago #

    can i PM u !?

  11. esmi
    Forum Moderator
    Posted 1 year ago #

    probably, I need the ENGLISH LANGUAGE .mo files

    There aren't any english.mo files. English is the default for WordPress core. It may also be the default language for your theme but without being able to look at the theme, I couldn't say for sure.

    can i PM u !?

    I'm sorry but no. There's no PM system here and I don't offer free support away from these forums.

  12. Bucki
    Member
    Posted 1 year ago #

    well ... issue is, u cant look at the site anyway unless u log into it as an ADMIN *which u cant, sorry*. The site is still in development, hence why I am looking to change the calender naming !!

  13. Bucki
    Member
    Posted 1 year ago #

    Ahhhh there it is :)

    http://codex.wordpress.org/Translating_WordPress_with_Launchpad

    #Translating With Poedit

    easy!

  14. Bucki
    Member
    Posted 1 year ago #

    Oh guess what??

    There is a TWO files within the WordPress:

    \wordpress\wp-includes\js\tinymce\langs

    **** wp-langs *****

    'months_long' => __('January').','.__('February').','.__('March').','.__('April').','.__('May').','.__('June').','.__('July').','.__('August').','.__('September').','.__('October').','.__('November').','.__('December'),
    			'months_short' => __('Jan_January_abbreviation').','.__('Feb_February_abbreviation').','.__('Mar_March_abbreviation').','.__('Apr_April_abbreviation').','.__('May_May_abbreviation').','.__('Jun_June_abbreviation').','.__('Jul_July_abbreviation').','.__('Aug_August_abbreviation').','.__('Sep_September_abbreviation').','.__('Oct_October_abbreviation').','.__('Nov_November_abbreviation').','.__('Dec_December_abbreviation'),
    			'day_long' => __('Sunday').','.__('Monday').','.__('Tuesday').','.__('Wednesday').','.__('Thursday').','.__('Friday').','.__('Saturday'),
    			'day_short' => __('Sun').','.__('Mon').','.__('Tue').','.__('Wed').','.__('Thu').','.__('Fri').','.__('Sat')
    		),

    ** wp-langs-en.php ****

    months_long:"January,February,March,April,May,June,July,August,September,October,November,December",
    months_short:"Jan_January_abbreviation,Feb_February_abbreviation,Mar_March_abbreviation,Apr_April_abbreviation,May_May_abbreviation,Jun_June_abbreviation,Jul_July_abbreviation,Aug_August_abbreviation,Sep_September_abbreviation,Oct_October_abbreviation,Nov_November_abbreviation,Dec_December_abbreviation",
    day_long:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday",
    day_short:"Sun,Mon,Tue,Wed,Thu,Fri,Sat"
  15. esmi
    Forum Moderator
    Posted 1 year ago #

    They are not .mo files and you should never edit them.

  16. Bucki
    Member
    Posted 1 year ago #

    why not ??
    I just tried .. lol but didnt work .. ahh sh!t !!

  17. esmi
    Forum Moderator
    Posted 1 year ago #

    Never, ever, edit WordPress core scripts. And do not encourage others to do so. Editing core scripts can bring down your entire site and/or open security holes for hackers to use.

  18. Bucki
    Member
    Posted 1 year ago #

    yeh but come on .. is just a case of EDITTING the Jan_January_ into my bloody language. Installing my language.mo converts the whole dashboard language into my native lang - which is annoying cos I am used to english but the users should be reading the native language

    I looked into this: http://svn.automattic.com/wordpress-i18n/pot/trunk/wordpress.pot

    but it looks like the file is not up to date

    "Project-Id-Version: WordPress 3.5-beta1-22150\n"
    "Report-Msgid-Bugs-To: http://wppolyglots.wordpress.com\n"
    "POT-Creation-Date: 2012-10-10 14:21:38+00:00\n"
    "MIME-Version: 1.0\n"
    "Content-Type: text/plain; charset=UTF-8\n"
    "Content-Transfer-Encoding: 8bit\n"
    "PO-Revision-Date: 2012-MO-DA HO:MI+ZONE\n"
    "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    "Language-Team: LANGUAGE <LL@li.org>\n"
  19. Bucki
    Member
    Posted 1 year ago #

    if I did find the english.mo somehow I would just edit the Monthly names and that's it really.

  20. esmi
    Forum Moderator
    Posted 1 year ago #

    There isn't an english.mo file!

  21. Bucki
    Member
    Posted 1 year ago #

    well since there IS NO, then I will have to try this way, as above but u saying DO NOT CHANGE!! So how would u solve my issue then!>??

  22. esmi
    Forum Moderator
    Posted 1 year ago #

    You have been asked where you downloaded your theme and/or for a link to your site. You have yet to provide either piece of information.

  23. Bucki
    Member
    Posted 1 year ago #

    1> Quick search and it showed this:

    http://sony.web.id/download-broadway-themes-a-wordpress-magazine-theme.html

    2> You CANNOT access the website because it is still not PUBLISHED, since we want to change some stuff and undergoing tests. Unless you have ADMIN logins, otherwise u cant see the site, is this clear enough!?

  24. esmi
    Forum Moderator
    Posted 1 year ago #

    Please provide a download link that isn't bundled with other software. And also remember - unless you help us, we cannot help you.

  25. Bucki
    Member
    Posted 1 year ago #

  26. esmi
    Forum Moderator
    Posted 1 year ago #

    Thanks. I've looked at the theme and I'm afraid it is not translation-ready. :-(

  27. Bucki
    Member
    Posted 1 year ago #

    yeh I know ... thanks but using Dreamweaver and searching for January, it finds the following files containing the monthly names:

    jquery-addons\date.js
    jquery-addons\date_en_US.js
    wp-includes\locale.php
    wp-includes\js\tinymce\langs

    Guess I will do it this way :)

Topic Closed

This topic has been closed to new replies.

About this Topic