WordPress.org

Ready to get started?Download WordPress

Forums

Custom Content Type Manager
[resolved] localization issue (5 posts)

  1. aluizioll
    Member
    Posted 1 year ago #

    I'm working in the Portuguese translation for the Plug-in and I found a non translatable string in views/post_type.php line 564 "Off".
    Also, I'd like to know how could I contribute with this translation like whom to send it.

    http://wordpress.org/extend/plugins/custom-content-type-manager/

  2. aluizioll
    Member
    Posted 1 year ago #

    I'd like to reinforce also that some localization functions like _e() are used without the "plugin text domain name". One could work on some code to parse all of the project files in order to check for this issue (I'd do it but my knowledge in regex is very bad). An example could be seen in views/metabox.php in the lines below 50, in the next _e() functions.

  3. fireproofsocks
    Member
    Plugin Author

    Posted 1 year ago #

    Please direct all this sort of thing to the bug tracker: http://code.google.com/p/wordpress-custom-content-type-manager/

    Some strings do not include the plugin text domain when the word or phrase is so simple or common that it is in the WP lexicon already. Others I may have missed.

    Regex's for this would be prohibitively complex: the entire paradigm that WP relies on has severe limitations because it relies on software (e.g. POEdit) that parses *text* and not PHP.

  4. aluizioll
    Member
    Posted 1 year ago #

    Well, regex was just a suggestion for you to parse and replace _e() functions with '_e+the function argument of text domain', but as you said this should not be an issue as you leave this strings to WP po files. But there are still some strings without _e functions so they are not able to be translated. I changed the core, but in next updates it will be excluded. I'll post this in the place you asked for.

  5. fireproofsocks
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks. I got the bug report.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic