MicrostockGroup

Microstock Photography Forum - General => Symbiostock => Symbiostock - Technical Support => Topic started by: lucato on December 23, 2013, 15:07

Title: Is your Symbiostock reading the .mo/.pot/.po files withing Language folder?
Post by: lucato on December 23, 2013, 15:07
Hi folks,

My SS theme isn't getting to read the .mo files within the languages folder and
the language was defined correctly  into wp-config.php:

define('WPLANG', 'pt_BR');

My .mo/.pot/.po files are within the correct folder as well, into the wp-content/themes/symbiostock/languages and the files are:

pt_BR.mopt_BR.po
pt_BR.pot

Any idea what can be wrong?

Thanks.
Title: Re: Is your Symbiostock reading the .mo/.pot/.po files withing Language folder?
Post by: Shelma1 on December 23, 2013, 15:45
Are you unable to use the Symbiostock forums?
Title: Re: Is your Symbiostock reading the .mo/.pot/.po files withing Language folder?
Post by: lucato on December 23, 2013, 16:45
Are you unable to use the Symbiostock forums?

What is the point? Isn't it a Symbiostock forum where I've posted? :0) Kidding a part, the are you refering to http://www.symbiostock.org/community/ (http://www.symbiostock.org/community/)? If so, it isn't accepting new registrations to post over there.
Title: Re: Is your Symbiostock reading the .mo/.pot/.po files withing Language folder?
Post by: Shelma1 on December 23, 2013, 17:10
Yes...I guess Leo hasn't turned new registrations back on yet?
Title: Re: Is your Symbiostock reading the .mo/.pot/.po files withing Language folder?
Post by: lucato on December 23, 2013, 17:21
Yes...I guess Leo hasn't turned new registrations back on yet?
Why your question about SS forum? Have you found a solution for that issue over there? Is so, please, post the link. ;0)
Title: Re: Is your Symbiostock reading the .mo/.pot/.po files withing Language folder?
Post by: Shelma1 on December 23, 2013, 18:10
Because some folks here were getting annoyed with continual Symbiostock threads, so the Symbiostock forum was started.
Title: Re: Is your Symbiostock reading the .mo/.pot/.po files withing Language folder?
Post by: lucato on December 23, 2013, 18:30
Because some folks here were getting annoyed with continual Symbiostock threads, so the Symbiostock forum was started.

I'm sorry and I don't want to be rude, but it seems you're one of them and your posts are out of the topic and doesn't make sense, once my post is inside a Symbiostock sub-forum buit within MSG forum by MSG team. As you can confirm on the top of the page:
MicrostockGroup (http://www.microstockgroup.com/index.php?action=forum) »Microstock Photography Forum - General (http://www.microstockgroup.com/index.php?action=forum#c1) »Symbiostock (http://www.microstockgroup.com/index.php?board=118.0) »Symbiostock - Technical Support (http://www.microstockgroup.com/index.php?board=122.0) »

Also, it has its own section as you can check here (http://www.microstockgroup.com/MicrostockGroup » Microstock Photography Forum - General » Symbiostock » Symbiostock - Technical Support »).

Said that, I would appreciate to keep the thread on the main focus, which is:

Hi folks,

My SS theme isn't getting to read the .mo files within the languages folder and it was defined correctly the language into wp-config.php:
define('WPLANG', 'pt_BR');My .mo/.pot/.po files are within the correct folder wp-content/themes/symbiostock/languages and the files are:pt_BR.mopt_BR.popt_BR.pot

Any idea what can be wrong?

Thanks.

Title: Re: Is your Symbiostock reading the .mo/.pot/.po files withing Language folder?
Post by: klsbear on December 23, 2013, 18:45
Hi Lucato;  your problem seems pretty complex and refers to files I have not seen mentioned before. You had previously asked about other languages and mentioned plugins (I think). Is this relating to plugins to convert the language?  It sounds like something that requires advanced programming knowledge. Unfortunately I don't have that. Maybe after Christmas there will be more people online that can help.
Title: Re: Is your Symbiostock reading the .mo/.pot/.po files withing Language folder?
Post by: Shelma1 on December 23, 2013, 18:53
Because some folks here were getting annoyed with continual Symbiostock threads, so the Symbiostock forum was started.
I'm sorry and I don't want to be rude, but it seems you're one of them and your posts are out of the topic and doesn't make sense, once my post is inside a Symbiostock sub-forum buit within MSG forum by MSG team. As you can confirm on the top of the page:

Eh. You'll find out otherwise when Leo reopens the forums.
Title: Re: Is your Symbiostock reading the .mo/.pot/.po files withing Language folder?
Post by: lucato on December 24, 2013, 00:37
Hi Lucato;  your problem seems pretty complex and refers to files I have not seen mentioned before. You had previously asked about other languages and mentioned plugins (I think). Is this relating to plugins to convert the language?  It sounds like something that requires advanced programming knowledge. Unfortunately I don't have that. Maybe after Christmas there will be more people online that can help.
Not so complex as to understand PHP programming codes. :0) Yes, let's see after Christmas if I'll get some complex feedback. ;0)

Merry Christmas to you and your family.
Title: Re: Is your Symbiostock reading the .mo/.pot/.po files withing Language folder?
Post by: lucato on December 24, 2013, 00:46
Quote
Eh. You'll find out otherwise when Leo reopens the forums.

Have you clicked on HELP from the official http://www.symbiostock.com/ (http://www.symbiostock.com/)? I understand that a own forum for SS theme and in one single place would be much better than spread for all around the web, but the way it is organized now a days within sections into MicrostockGroup, is not disturbing people that were annoyed with such posts, once the posts about SS theme are not showing up in other sections. I mean if the user places in the correct category. :0) Now, I'll found out that I would have more feedback over there? I would get a feed back from Leo? Well, if Leo closed it due spam, he would open it by requesting through some e-mail and make the new user provide that have a Symbio site. ;0)

Merry Christmas to you and your family.

Title: Re: Is your Symbiostock reading the .mo/.pot/.po files withing Language folder?
Post by: ajt on December 24, 2013, 03:40
My SS theme isn't getting to read the .mo files within the languages folder and it was defined correctly the language into wp-config.php:[/font][/size]define('WPLANG', 'pt_BR');My .mo/.pot/.po files are within the correct folder wp-content/themes/symbiostock/languages and the files are:pt_BR.mopt_BR.popt_BR.pot

Any idea what can be wrong?


In current version Symbiostock doesn't support languages other than English and language files are not used. All messages are hardcoded in theme files. Only few (for example in pagination navigator, maybe login window) come from Wordpress and language settings work there.
But be careful: for example "Next" in German version becomes "Nächste" and there are problems with German "ä" in files used for network communication, so images from German sites are not visible in network results :)
Title: Re: Is your Symbiostock reading the .mo/.pot/.po files withing Language folder?
Post by: lucato on December 24, 2013, 06:10

In current version Symbiostock doesn't support languages other than English and language files are not used. All messages are hardcoded in theme files. Only few (for example in pagination navigator, maybe login window) come from Wordpress and language settings work there.
But be careful: for example "Next" in German version becomes "Nächste" and there are problems with German "ä" in files used for network communication, so images from German sites are not visible in network results :)

I'm sorry, but not all messages are hardcoded, in the textdomain default it has around 107, and textdomain symbiostock has 144 as you can check by using plug-ins such as CodeStyling Localization, Loco Translate, etc. So, IMHO it has a good part of the job done to get to use .mo files. Just need to find out how to make SS theme use these files as a newbie I'm in PHP codes. ;0)

Thanks for your reply and Merry Christmas.
 

Title: Re: Is your Symbiostock reading the .mo/.pot/.po files withing Language folder?
Post by: Idnax on December 31, 2013, 07:17
I recommend using https://poeditor.com (https://poeditor.com) for po and mo translations. It's a very useful, complex and friendly online tool.