Is there a way to replace the months showing on my archive template to Spanish instead of english? I tried changing in my user preferences, but that just changed my admin to spanish.
Thank you
Quick language question for CGBlog
- fearmydesign
- Power Poster
- Posts: 363
- Joined: Sun Feb 28, 2010 10:54 pm
Quick language question for CGBlog
Rod
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
- fearmydesign
- Power Poster
- Posts: 363
- Joined: Sun Feb 28, 2010 10:54 pm
Re: Quick language question for CGBlog
I tried calling the language property, but it's not working this way...
Code: Select all
{CGBlog action="archive" lang="es_CA"}
Rod
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
Re: Quick language question for CGBlog
Set your FrontendLanguage in GlobalSettings to Spanish as well. That will pull the date/labels from the locale, if set. So if you have a locale for Spanish then it will be already Spanish then. The lang= parameter is required when the module doesnt pull the language settings automatically, or when another lang then default-for-frontend is to be used.
Ronny
Ronny
- fearmydesign
- Power Poster
- Posts: 363
- Joined: Sun Feb 28, 2010 10:54 pm
Re: Quick language question for CGBlog
RonnyK wrote:Set your FrontendLanguage in GlobalSettings to Spanish as well. That will pull the date/labels from the locale, if set. So if you have a locale for Spanish then it will be already Spanish then. The lang= parameter is required when the module doesnt pull the language settings automatically, or when another lang then default-for-frontend is to be used.
Ronny
Thank you Ronny, I did exactly this but it's not working. I went to Global settings and changed the "Default Language for Frontend" to Español (Spanish) and it didn't work. I actually tried it with other languages, but still in english. I also removed the lang= parameter (tried with and without) but nothing
Code: Select all
{CGBlog action="archive"}
Thanks
Rod
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
Re: Quick language question for CGBlog
I doubt that that will help, as I think that your webserver doesnt have the Spanish locale installed.... So upgrading wont fix that.
If you upgrade, just overwrite the set with the latest version and start the upgrade. Make sure that you have a backup of both files and database.
Ronny
If you upgrade, just overwrite the set with the latest version and start the upgrade. Make sure that you have a backup of both files and database.
Ronny
- fearmydesign
- Power Poster
- Posts: 363
- Joined: Sun Feb 28, 2010 10:54 pm
Re: Quick language question for CGBlog
Thanks Ronny, should I contact my webserver admin and ask them to install the Spanish Locale?... this is new to me. I appreciate your help, thanks.RonnyK wrote:I doubt that that will help, as I think that your webserver doesnt have the Spanish locale installed.... So upgrading wont fix that.
If you upgrade, just overwrite the set with the latest version and start the upgrade. Make sure that you have a backup of both files and database.
Ronny
Rod
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
Re: Quick language question for CGBlog
I use the trick from this page to localize my date:
http://www.i-do-this.com/blog/34/Localize-your-dates
I even have 2 locale UDT in the same page and it's working!
http://www.i-do-this.com/blog/34/Localize-your-dates
I even have 2 locale UDT in the same page and it's working!