Alessandro Senese aka Ceceppa
Forum Replies Created
-
Forum: Plugins
In reply to: [Ceceppa Multilingua] How to translate custom menus ?Hi, skublaka
first part of my last message isn’t for you but for ProgenicRo :).If you want to show flags in your menu, you must enable option in “Settings” page of my plugin.
The option is “Add flags to menu:”Let me know if you need more help 🙂
Forum: Plugins
In reply to: [Ceceppa Multilingua] get_current_lang() not working properlyWith 1.0 use this for get current language:
cml_get_current_language();
This function return a php object with this fields:
*) id – id of language
*) cml_default – 1 if it is the default language
*) cml_flag – name of flag
*) cml_language – name of the language
*) cml_language_slug – slug of the language
*) cml_locale – wordpress localeForum: Reviews
In reply to: [Ceceppa Multilingua] Question about widgetWith 1.0 you don’t need to edit any file.
You can add flags also to menu, see options in “Settings” pageForum: Plugins
In reply to: [Ceceppa Multilingua] get_current_lang() not working properlyTry if with 1.0
Forum: Plugins
In reply to: [Ceceppa Multilingua] How to translate custom menus ?I need more info.
Which is theme and which is the “custom menu widget” that are you using?
For @skublaka
with version 1.0 you can add flags also to menu, the options are available in settings page.
Forum: Plugins
In reply to: [Ceceppa Multilingua] How to translate custom menus ?If you want show available languages in you site you must edit your theme and add manually this function:
<?php cml_show_langs() ?>
I know it is not easy to do for beginner, but I’m working on next release and you can:
- Add flags in a float div and specify position via CSS
- Add language chooser to menu
The next version will be available in a few days, I think Tuesday.
Contact me if you need more help 🙂
Forum: Plugins
In reply to: [Ceceppa Multilingua] How to translate custom menus ?Hi,
if you use the function “wp_nav_menu” items should be translated automatically.
If that doesn’t happen, you can use the function “cml_get_menu()” for get which menu to show.Example:
$menu = cml_get_menu();
wp_nav_menu(array(‘theme_location’ => $menu));Forum: Reviews
In reply to: [Ceceppa Multilingua] Question about widgetYou must edit the file “header.php” of your theme, and add this line where you need to show the flags:
<?php cml_show_flags() ?>
Forum: Plugins
In reply to: [Ceceppa Multilingua] Language's flag setting bugOps, fixed 🙂
Forum: Plugins
In reply to: [Ceceppa Multilingua] need help usinc ceceppa!Ok :).
Forum: Plugins
In reply to: [Ceceppa Multilingua] Problem languages settings menuFinally I have fixed the issue.
The problem wasn’t wordpress but php, because the plugin use the function “bin2hex” that is available only for PHP >= 5.4.
I have replace with native mysql function.
Update the plugin to the 0.9.13Forum: Plugins
In reply to: [Ceceppa Multilingua] Problem languages settings menuNo, I’m trying to understand when it happens.
I need more info:
1) Which web server are you using? Apache or other?
2) Which os are you using? Linux, Windows or Mac?Forum: Plugins
In reply to: [Ceceppa Multilingua] need help usinc ceceppa!When clicking on the flag the pages names changes from one to another language, but not their content, that still french…
Strange :O… Is the link of both pages correct?
The translation of post works perfectly by simply clicking on the flag on the right side of the post, but that doesn’t work the same way with pages…
Check if pages are linked correctly
Also, I can’t create children pages anymore, just parents!
What do you mean?
Forum: Plugins
In reply to: [Ceceppa Multilingua] Problem languages settings menuHi,
you are the third user that have this problem.
I’ve seen some screenshots of other users, and it seems that the page is not fully loading, because style isn’t applied and “Update” button is not visible.
Probably apache exit with an error, can you send me a tail of its log?Forum: Reviews
In reply to: [Ceceppa Multilingua] IssuesHave you still this problem with 0.9.9?