
Resolved Localization repository
By
sciamannikoo, in DMS & Legacy Products
-
Similar Content
-
By Audun MB+
Are there any instructions for this? Seems like the plugin use standard .mo/.po for translation, but how do I prevent my language file from being overwritten with updates?
Support for different number and currency formats in sections is also missing. For me this is an issue with Boxes. I can't use the counter with the current format (thousands separator), it looks really odd in Norwegian (and a lot of other languages).
-
By Plev
I have child theme where i use "my-text-domain" then following wordpress codex steps to localize child theme do not work ( I have my .pot file as well with .po and .mo files in folder 'languages' of my DMS child theme) I tried both ways to register text domain (load_theme_textdomain and load_child_theme_textdomain) unfortunatelly non of them worked for me, any suggestions? Maybe there is some connection with unsolved issue with translation of main DMS theme from child theme posted on February which is still not solved.
Looking forward for any help,
thx in advance.
-
By bartslot
Hi there, my first post on these forums!
I use pagelines framework and want to know how to change a menu based on the current localization of wordpress.
I use a plugin (Bogo) that switches between 3 languages: Dutch, English and French.
( define('WPLANG', 'nl_NL') -> define('WPLANG', 'en_US'); )
I also added 3 menu's: NLmenu, ENGmenu and FRmenu which stores the pages that links to the corresponding language page (/home/, /en/home, /fr/home/..)
How can I change the menu that's displaying in the navbar section (not fixed) when the localization changes?
Here is the code I have so far in the base theme's functions.php:
// Register Menus add_action( 'init', 'asgro_register_additional_menus', 11 ); function asgro_register_additional_menus() { register_nav_menu( 'NLmenu', _x( 'NL menu', 'navbar_brand', 'pagelines' ) ); register_nav_menu( 'ENGmenu', _x( 'ENG menu', 'navbar_brand', 'pagelines') ); register_nav_menu( 'FRmenu', _x( 'FR menu', 'navbar_brand', 'pagelines') ); } add_filter( 'wp_nav_menu_args', 'asgro_nav_menu_args' ); function asgro_nav_menu_args( $args ) { $locale = get_locale(); if ( 'nl_NL' == $locale ) $args['theme_location'] = 'NLmenu'; if ( 'en_US' == $locale ) $args['theme_location'] = 'ENGmenu'; if ( 'fr_FR' == $locale ) $args['theme_location'] = 'FRmenu'; return $args; } // END Register Menus Thanks in advance
-
By ruiganga
Hi
I am looking to translate DMS. The docs talk about language folder inside pagelines folder. I can't find any po, mo or pot file. Any tip for me?
Thanks
-
By DJIO
Hi everyone,
In a collaborative efford to keep up with the new open-source DMS structure, I created a project on Transifex to manage the several languages and add them to the next versions of PageLines DMS, hosted on GitHub.
Transifex is a free online tool to open-source projects, yet powerful and simple enough to use and rely on.
If you are interested in joining a team of compromised translators, please visit the link below and create/add to your account.
>>> https://www.transifex.com/projects/p/pagelines-dms/
Thanks in advance for your help! -- Djio
-