Edward Caissie
Forum Replies Created
-
Forum: Plugins
In reply to: [BNS Site Data] Language support@fizzgigg – Using the
../wp-content/languages/plugins/location fits better with the ideas behind WordPress’ language packs and having the community in general maintain translations for plugins and themes in the WordPress repositories.Also, I do not have any plans to maintain the actual translation files at this time; as well as keeping in mind, the current Plugin update process removes *all* files from the plugin’s folder and replaces them with the latest stable release, if the translation files are not in the plugin’s package they will be removed and potentially “lost”.
~Cais.
Forum: Plugins
In reply to: [BNS Site Data] Language support@fizzgigg – Thanks for the follow-up. I’ll likely add a note into the
readme.txtexplaining where to put translation files going forward. I really appreciate your help sorting out these last details.If there are any changes in the
.potfile it will be noted in the changelog, which you should also see under Plugins > Installed Plugins when an update is available.~Cais.
Forum: Plugins
In reply to: [BNS Site Data] Language support@fizzgigg – The administration panels are translated in my test sites. This is what I am seeing: http://take.ms/ZfEFP
As far as the “title” goes, technically it is translatable as the code shows but it is also user defined so you could simply enter the appropriate information in your own language.
Thanks!
– Cais.
Forum: Plugins
In reply to: [BNS Site Data] Language support@fizzgigg – I found the issue … I wrote the code to take into consideration both singular and plural conditions for the item labels (Post/Posts, Page/Pages, etc.) and the translation files you shared only provided text for the singular forms. I used Google Translate to find plural forms and based my translations on your version but I imagine it will need to be reviewed.
As it is, with the plural texts added to the translation files all works as expected. Thanks, I really don’t do much as far as translation files go so this was an opportunity to play with Poedit and get to understand how it works.
Here is what I created and works for me: https://dl.dropboxusercontent.com/u/10029767/bns-site-data-sv_SE.zip
~Cais.
Forum: Plugins
In reply to: [BNS Site Data] Language support@fizzgigg – Thanks, I’ll see what I can do with these as a reference point.
~Cais.
Forum: Plugins
In reply to: [BNS Site Data] Language supportHmm … can you send me the language files you are working with? (Just follow the “title” link beside my avatar to get my email address.)
Thanks!
~Cais
Forum: Plugins
In reply to: [BNS Site Data] Language support@fizzgigg – Really sorry about all this inconvenience … I got a little too fancy in the code and didn’t think it through clearly enough. I missed converting a string to an integer in the i18n implementation and that is what caused the translation files to not work correctly (or at least this is what I suspect).
Version 0.4.2 should have this corrected. Please let me know if you are still having issues.
Thanks … and Happy New Year!
~Cais.
Forum: Plugins
In reply to: [BNS Site Data] Language supportThe “text” does appear when you do not use your translation files, correct?
~Cais.
PS: Try updating to version 0.4.1 (just released a few moments ago) and continue to use the
../wp-content/languages/plugins/folder as noted above.Forum: Plugins
In reply to: [BNS Site Data] Language support@fizzgigg – Did you try the translation files if placed in this location:
../wp-content/languages/plugins/Forum: Plugins
In reply to: [BNS Site Data] Language support@fizzgigg – Have a look at version 0.4 (just uploaded). I believe it has everything covered including a
.potfile … and there was a significant miss in thei18nimplementation that I needed to address.Thanks for the incentive to have a closer look at this plugin, hopefully you can carry it forward and complete your translations now.
Please remember to use this location for your translation files (
.poand.mo):
../wp-content/languages/plugins/ (this is the most update safe location)Using the following naming conventions:
<plugin textdomain>-<language>_<country>.po
<plugin textdomain>-<language>_<country>.mo~Cais.
PS: I believe the following would be the most correct for Swedish:
bns-site-data-sv_SE.poandbns-site-data-sv_SE.moForum: Plugins
In reply to: [BNS Featured Category] How to increase free space@merkucio – Thanks for following-up!
~Cais.
Forum: Plugins
In reply to: [BNS Site Data] Language support@fizzgigg – Aha … well that would require a Swedish translator (*grin*).
~Cais.
Forum: Plugins
In reply to: [BNS Site Data] Language support@fizzgigg – Thanks for the compliment!
The plugin has a complete i18n implementation but I do not currently provide any “pomo” files for the plugin itself. Although the plugin’s next review/re-factor cycle is not due for some time, is there something specific I missed? I am not seeing anything significant in the code but if I have overlooked something by all means let me know.
Thanks, again!
~Cais.
Forum: Plugins
In reply to: [BNS Featured Category] This strange symbol@merkucio – Glad to know you sorted this out.
The “symbol” is an “infinity” character and was meant to represent a link, in this case to the rest of the post.
Thanks!
~Cais.
Forum: Plugins
In reply to: [BNS Featured Category] How to increase free space@merkucio – You should be able to apply some custom CSS to set a margin or padding between the posts being shown by the plugin.
Start with the
div.bnsfc-containerthen reference whatever your theme uses for posts that suits your site best … you might look at something like:div.bnsfc-container .post { margin-bottom: 10px; }There are several classes you could target the above might not be best for your site but should work all the same. The key is to ensure the specificity by using the plugin’s “container” class.
Thanks!
~Cais.